src/share/vm/runtime/mutexLocker.hpp

changeset 777
37f87013dfd8
parent 490
2a8eb116ebbe
child 791
1ee8caae33af
     1.1 --- a/src/share/vm/runtime/mutexLocker.hpp	Wed Jun 04 13:51:09 2008 -0700
     1.2 +++ b/src/share/vm/runtime/mutexLocker.hpp	Thu Jun 05 15:57:56 2008 -0700
     1.3 @@ -38,7 +38,7 @@
     1.4  extern Monitor* JNICritical_lock;                // a lock used while entering and exiting JNI critical regions, allows GC to sometimes get in
     1.5  extern Mutex*   JvmtiThreadState_lock;           // a lock on modification of JVMTI thread data
     1.6  extern Monitor* JvmtiPendingEvent_lock;          // a lock on the JVMTI pending events list
     1.7 -extern Mutex*   Heap_lock;                       // a lock on the heap
     1.8 +extern Monitor* Heap_lock;                       // a lock on the heap
     1.9  extern Mutex*   ExpandHeap_lock;                 // a lock on expanding the heap
    1.10  extern Mutex*   AdapterHandlerLibrary_lock;      // a lock on the AdapterHandlerLibrary
    1.11  extern Mutex*   SignatureHandlerLibrary_lock;    // a lock on the SignatureHandlerLibrary
    1.12 @@ -60,8 +60,30 @@
    1.13  extern Monitor* SLT_lock;                        // used in CMS GC for acquiring PLL
    1.14  extern Monitor* iCMS_lock;                       // CMS incremental mode start/stop notification
    1.15  extern Monitor* FullGCCount_lock;                // in support of "concurrent" full gc
    1.16 +extern Monitor* CMark_lock;                      // used for concurrent mark thread coordination
    1.17 +extern Monitor* ZF_mon;                          // used for G1 conc zero-fill.
    1.18 +extern Monitor* Cleanup_mon;                     // used for G1 conc cleanup.
    1.19 +extern Monitor* G1ConcRefine_mon;                // used for G1 conc-refine
    1.20 +                                                 // coordination.
    1.21 +
    1.22 +extern Mutex*   SATB_Q_FL_lock;                  // Protects SATB Q
    1.23 +                                                 // buffer free list.
    1.24 +extern Monitor* SATB_Q_CBL_mon;                  // Protects SATB Q
    1.25 +                                                 // completed buffer queue.
    1.26 +extern Mutex*   Shared_SATB_Q_lock;              // Lock protecting SATB
    1.27 +                                                 // queue shared by
    1.28 +                                                 // non-Java threads.
    1.29 +
    1.30 +extern Mutex*   DirtyCardQ_FL_lock;              // Protects dirty card Q
    1.31 +                                                 // buffer free list.
    1.32 +extern Monitor* DirtyCardQ_CBL_mon;              // Protects dirty card Q
    1.33 +                                                 // completed buffer queue.
    1.34 +extern Mutex*   Shared_DirtyCardQ_lock;          // Lock protecting dirty card
    1.35 +                                                 // queue shared by
    1.36 +                                                 // non-Java threads.
    1.37                                                   // (see option ExplicitGCInvokesConcurrent)
    1.38  extern Mutex*   ParGCRareEvent_lock;             // Synchronizes various (rare) parallel GC ops.
    1.39 +extern Mutex*   EvacFailureStack_lock;           // guards the evac failure scan stack
    1.40  extern Mutex*   Compile_lock;                    // a lock held when Compilation is updating code (used to block CodeCache traversal, CHA updates, etc)
    1.41  extern Monitor* MethodCompileQueue_lock;         // a lock held when method compilations are enqueued, dequeued
    1.42  #ifdef TIERED
    1.43 @@ -93,6 +115,10 @@
    1.44  extern Mutex*   ParkerFreeList_lock;
    1.45  extern Mutex*   OopMapCacheAlloc_lock;           // protects allocation of oop_map caches
    1.46  
    1.47 +extern Mutex*   MMUTracker_lock;                 // protects the MMU
    1.48 +                                                 // tracker data structures
    1.49 +extern Mutex*   HotCardCache_lock;               // protects the hot card cache
    1.50 +
    1.51  extern Mutex*   Management_lock;                 // a lock used to serialize JVM management
    1.52  extern Monitor* LowMemory_lock;                  // a lock used for low memory detection
    1.53  

mercurial