< prev index next >

src/hotspot/share/runtime/mutexLocker.cpp

Print this page

        

@@ -57,10 +57,12 @@
 Mutex*   VMGlobalActive_lock          = NULL;
 Mutex*   VMWeakAlloc_lock             = NULL;
 Mutex*   VMWeakActive_lock            = NULL;
 Mutex*   ResolvedMethodTableWeakAlloc_lock  = NULL;
 Mutex*   ResolvedMethodTableWeakActive_lock = NULL;
+Mutex*   NMethodKeepaliveAlloc_lock   = NULL;
+Mutex*   NMethodKeepaliveActive_lock  = NULL;
 Mutex*   JmethodIdCreation_lock       = NULL;
 Mutex*   JfieldIdCreation_lock        = NULL;
 Monitor* JNICritical_lock             = NULL;
 Mutex*   JvmtiThreadState_lock        = NULL;
 Monitor* Heap_lock                    = NULL;

@@ -226,10 +228,13 @@
   def(StringTableWeakActive_lock   , PaddedMutex  , oopstorage-1,true,  Monitor::_safepoint_check_never);
 
   def(ResolvedMethodTableWeakAlloc_lock    , PaddedMutex  , oopstorage,   true,  Monitor::_safepoint_check_never);
   def(ResolvedMethodTableWeakActive_lock   , PaddedMutex  , oopstorage-1, true,  Monitor::_safepoint_check_never);
 
+  def(NMethodKeepaliveAlloc_lock   , PaddedMutex  , oopstorage,   true,  Monitor::_safepoint_check_never);
+  def(NMethodKeepaliveActive_lock  , PaddedMutex  , oopstorage-1, true,  Monitor::_safepoint_check_never);
+
   def(FullGCCount_lock             , PaddedMonitor, leaf,        true,  Monitor::_safepoint_check_never);      // in support of ExplicitGCInvokesConcurrent
   if (UseG1GC) {
     def(DirtyCardQ_CBL_mon         , PaddedMonitor, access,      true,  Monitor::_safepoint_check_never);
     def(Shared_DirtyCardQ_lock     , PaddedMutex  , access + 1,  true,  Monitor::_safepoint_check_never);
 
< prev index next >