< prev index next >

src/share/vm/runtime/mutexLocker.cpp

Print this page
rev 6971 : 8035663: Suspicious failure of test java/util/concurrent/Phaser/FickleRegister.java
Reviewed-by: shade, coleenp

*** 133,142 **** --- 133,146 ---- Mutex* JfrBuffer_lock = NULL; Mutex* JfrStream_lock = NULL; Mutex* JfrThreadGroups_lock = NULL; #endif + #ifndef SUPPORTS_NATIVE_CX8 + Mutex* UnsafeJlong_lock = NULL; + #endif + #define MAX_NUM_MUTEX 128 static Monitor * _mutex_array[MAX_NUM_MUTEX]; static int _num_mutex; #ifdef ASSERT
*** 284,293 **** --- 288,300 ---- def(JfrThreadGroups_lock , Mutex, nonleaf+1, true); def(JfrStream_lock , Mutex, nonleaf+2, true); def(JfrStacktrace_lock , Mutex, special, true ); #endif + #ifndef SUPPORTS_NATIVE_CX8 + def(UnsafeJlong_lock , Mutex, special, false); + #endif } GCMutexLocker::GCMutexLocker(Monitor * mutex) { if (SafepointSynchronize::is_at_safepoint()) { _locked = false;
< prev index next >