8210064: ZGC: Introduce ZConcurrentRootsIterator for scanning a subset of strong IN_NATIVE roots concurrently

Reviewed-by: pliden, kbarrett
This commit is contained in:
Erik Österlund 2018-10-16 13:14:18 +02:00
parent 5f2b11d373
commit 782fa608d2
13 changed files with 146 additions and 49 deletions

View file

@ -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