< prev index next >

src/hotspot/share/runtime/mutexLocker.cpp

Print this page
rev 49465 : [mq]: 8198691.patch

*** 135,144 **** --- 135,145 ---- #endif #ifndef SUPPORTS_NATIVE_CX8 Mutex* UnsafeJlong_lock = NULL; #endif + Monitor* CodeHeapStateAnalytics_lock = NULL; #define MAX_NUM_MUTEX 128 static Monitor * _mutex_array[MAX_NUM_MUTEX]; static int _num_mutex;
*** 295,304 **** --- 296,307 ---- #endif #ifndef SUPPORTS_NATIVE_CX8 def(UnsafeJlong_lock , PaddedMutex , special, false, Monitor::_safepoint_check_never); #endif + + def(CodeHeapStateAnalytics_lock , PaddedMutex , leaf, true, Monitor::_safepoint_check_never); } GCMutexLocker::GCMutexLocker(Monitor * mutex) { if (SafepointSynchronize::is_at_safepoint()) { _locked = false;
< prev index next >