aboutsummaryrefslogtreecommitdiff
path: root/src/ARMeilleure/Translation/Cache
diff options
context:
space:
mode:
authorMarco Carvalho <marcolucio27@gmail.com>2023-06-14 21:34:55 -0300
committerGitHub <noreply@github.com>2023-06-15 00:34:55 +0000
commit82f90704a0662bba7254cb0bc262d785acdabc67 (patch)
tree72d32a909661d7f26217eee66ffe1d068dcfe101 /src/ARMeilleure/Translation/Cache
parentf978d3726a87dcc067abb2541b96b831e4390fbb (diff)
Blocks should be synchronized on read-only fields (#5212)
* Blocks should be synchronized on read-only fields * more readonlys * fix alignment * more * Update ISelfController.cs * simplify new * simplify new
Diffstat (limited to 'src/ARMeilleure/Translation/Cache')
-rw-r--r--src/ARMeilleure/Translation/Cache/JitCache.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ARMeilleure/Translation/Cache/JitCache.cs b/src/ARMeilleure/Translation/Cache/JitCache.cs
index aa732d0a..03cba5ad 100644
--- a/src/ARMeilleure/Translation/Cache/JitCache.cs
+++ b/src/ARMeilleure/Translation/Cache/JitCache.cs
@@ -26,7 +26,7 @@ namespace ARMeilleure.Translation.Cache
private static readonly List<CacheEntry> _cacheEntries = new List<CacheEntry>();
- private static readonly object _lock = new object();
+ private static readonly object _lock = new();
private static bool _initialized;
[SupportedOSPlatform("windows")]