[K/N] Fix combination of aggressive GC and state check

Merge-request: KT-MR-9483
Merged-by: Alexander Shabalin <Alexander.Shabalin@jetbrains.com>
This commit is contained in:
Alexander Shabalin
2023-04-05 13:16:01 +00:00
committed by Space Team
parent 3987efa036
commit 759d5009d6
@@ -114,7 +114,7 @@ private:
size_t maxSize_;
// TODO: Consider replacing mutex + global set with thread local sets sychronized on STW.
std::mutex mutex_;
SpinLock<MutexThreadStateHandling::kIgnore> mutex_;
std_support::unordered_set<SafePointID> metSafePoints_;
};