mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8210064: ZGC: Introduce ZConcurrentRootsIterator for scanning a subset of strong IN_NATIVE roots concurrently
Reviewed-by: pliden, kbarrett
This commit is contained in:
parent
5f2b11d373
commit
782fa608d2
13 changed files with 146 additions and 49 deletions
|
@ -199,9 +199,11 @@ class MutexLocker: StackObj {
|
|||
// for debugging: check that we're already owning this lock (or are at a safepoint)
|
||||
#ifdef ASSERT
|
||||
void assert_locked_or_safepoint(const Monitor * lock);
|
||||
void assert_locked_or_safepoint_weak(const Monitor * lock);
|
||||
void assert_lock_strong(const Monitor * lock);
|
||||
#else
|
||||
#define assert_locked_or_safepoint(lock)
|
||||
#define assert_locked_or_safepoint_weak(lock)
|
||||
#define assert_lock_strong(lock)
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue