You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Our Visual Studio performance telemetry has caught an issue where LocalAssetService.HasBeenCheckedToday is entering an infinite loop on the following path. When we caught this issue, it was consuming 6 CPU cores of CPU constantly.
This is because LocalAssetService can end up reading and writing to the underlying Dictionary<TKey, TValue> from multiple threads at the same time. This can cause curruption of the internal data structures of the dictionary, causing it to enter infinite loop.
Fix is simple, please replace this dictionary with a ConcurrentDictionary<TKey, TValue>.
The text was updated successfully, but these errors were encountered:
Our Visual Studio performance telemetry has caught an issue where LocalAssetService.HasBeenCheckedToday is entering an infinite loop on the following path. When we caught this issue, it was consuming 6 CPU cores of CPU constantly.
This is because LocalAssetService can end up reading and writing to the underlying Dictionary<TKey, TValue> from multiple threads at the same time. This can cause curruption of the internal data structures of the dictionary, causing it to enter infinite loop.
Fix is simple, please replace this dictionary with a ConcurrentDictionary<TKey, TValue>.
The text was updated successfully, but these errors were encountered: