< prev index next >

src/hotspot/share/runtime/mutexLocker.hpp

Print this page

 28 #include "memory/allocation.hpp"
 29 #include "runtime/flags/flagSetting.hpp"
 30 #include "runtime/mutex.hpp"
 31 
 32 // Mutexes used in the VM.
 33 
 34 extern Mutex*   Patching_lock;                   // a lock used to guard code patching of compiled code
 35 extern Mutex*   CompiledMethod_lock;             // a lock used to guard a compiled method and OSR queues
 36 extern Monitor* SystemDictionary_lock;           // a lock on the system dictionary
 37 extern Mutex*   SharedDictionary_lock;           // a lock on the CDS shared dictionary
 38 extern Monitor* ClassInitError_lock;             // a lock on the class initialization error table
 39 extern Mutex*   Module_lock;                     // a lock on module and package related data structures
 40 extern Mutex*   CompiledIC_lock;                 // a lock used to guard compiled IC patching and access
 41 extern Mutex*   InlineCacheBuffer_lock;          // a lock used to guard the InlineCacheBuffer
 42 extern Mutex*   VMStatistic_lock;                // a lock used to guard statistics count increment
 43 extern Mutex*   JmethodIdCreation_lock;          // a lock on creating JNI method identifiers
 44 extern Mutex*   JfieldIdCreation_lock;           // a lock on creating JNI static field identifiers
 45 extern Monitor* JNICritical_lock;                // a lock used while entering and exiting JNI critical regions, allows GC to sometimes get in
 46 extern Mutex*   JvmtiThreadState_lock;           // a lock on modification of JVMTI thread data
 47 extern Monitor* EscapeBarrier_lock;              // a lock to sync reallocating and relocking objects because of JVMTI access

 48 extern Monitor* Heap_lock;                       // a lock on the heap
 49 extern Mutex*   ExpandHeap_lock;                 // a lock on expanding the heap
 50 extern Mutex*   AdapterHandlerLibrary_lock;      // a lock on the AdapterHandlerLibrary
 51 extern Mutex*   SignatureHandlerLibrary_lock;    // a lock on the SignatureHandlerLibrary
 52 extern Mutex*   VtableStubs_lock;                // a lock on the VtableStubs
 53 extern Mutex*   SymbolArena_lock;                // a lock on the symbol table arena
 54 extern Monitor* StringDedup_lock;                // a lock on the string deduplication facility
 55 extern Mutex*   StringDedupIntern_lock;          // a lock on StringTable notification of StringDedup
 56 extern Monitor* CodeCache_lock;                  // a lock on the CodeCache
 57 extern Monitor* CodeSweeper_lock;                // a lock used by the sweeper only for wait notify
 58 extern Mutex*   MethodData_lock;                 // a lock on installation of method data
 59 extern Mutex*   TouchedMethodLog_lock;           // a lock on allocation of LogExecutedMethods info
 60 extern Mutex*   RetData_lock;                    // a lock on installation of RetData inside method data
 61 extern Monitor* VMOperation_lock;                // a lock on queue of vm_operations waiting to execute
 62 extern Monitor* Threads_lock;                    // a lock on the Threads table of active Java threads
 63                                                  // (also used by Safepoints too to block threads creation/destruction)
 64 extern Mutex*   NonJavaThreadsList_lock;         // a lock on the NonJavaThreads list
 65 extern Mutex*   NonJavaThreadsListSync_lock;     // a lock for NonJavaThreads list synchronization
 66 extern Monitor* CGC_lock;                        // used for coordination between
 67                                                  // fore- & background GC threads.

 28 #include "memory/allocation.hpp"
 29 #include "runtime/flags/flagSetting.hpp"
 30 #include "runtime/mutex.hpp"
 31 
 32 // Mutexes used in the VM.
 33 
 34 extern Mutex*   Patching_lock;                   // a lock used to guard code patching of compiled code
 35 extern Mutex*   CompiledMethod_lock;             // a lock used to guard a compiled method and OSR queues
 36 extern Monitor* SystemDictionary_lock;           // a lock on the system dictionary
 37 extern Mutex*   SharedDictionary_lock;           // a lock on the CDS shared dictionary
 38 extern Monitor* ClassInitError_lock;             // a lock on the class initialization error table
 39 extern Mutex*   Module_lock;                     // a lock on module and package related data structures
 40 extern Mutex*   CompiledIC_lock;                 // a lock used to guard compiled IC patching and access
 41 extern Mutex*   InlineCacheBuffer_lock;          // a lock used to guard the InlineCacheBuffer
 42 extern Mutex*   VMStatistic_lock;                // a lock used to guard statistics count increment
 43 extern Mutex*   JmethodIdCreation_lock;          // a lock on creating JNI method identifiers
 44 extern Mutex*   JfieldIdCreation_lock;           // a lock on creating JNI static field identifiers
 45 extern Monitor* JNICritical_lock;                // a lock used while entering and exiting JNI critical regions, allows GC to sometimes get in
 46 extern Mutex*   JvmtiThreadState_lock;           // a lock on modification of JVMTI thread data
 47 extern Monitor* EscapeBarrier_lock;              // a lock to sync reallocating and relocking objects because of JVMTI access
 48 extern Monitor* JvmtiVTMT_lock;                  // a lock for Virtual Thread Mount Transition (VTMT) management
 49 extern Monitor* Heap_lock;                       // a lock on the heap
 50 extern Mutex*   ExpandHeap_lock;                 // a lock on expanding the heap
 51 extern Mutex*   AdapterHandlerLibrary_lock;      // a lock on the AdapterHandlerLibrary
 52 extern Mutex*   SignatureHandlerLibrary_lock;    // a lock on the SignatureHandlerLibrary
 53 extern Mutex*   VtableStubs_lock;                // a lock on the VtableStubs
 54 extern Mutex*   SymbolArena_lock;                // a lock on the symbol table arena
 55 extern Monitor* StringDedup_lock;                // a lock on the string deduplication facility
 56 extern Mutex*   StringDedupIntern_lock;          // a lock on StringTable notification of StringDedup
 57 extern Monitor* CodeCache_lock;                  // a lock on the CodeCache
 58 extern Monitor* CodeSweeper_lock;                // a lock used by the sweeper only for wait notify
 59 extern Mutex*   MethodData_lock;                 // a lock on installation of method data
 60 extern Mutex*   TouchedMethodLog_lock;           // a lock on allocation of LogExecutedMethods info
 61 extern Mutex*   RetData_lock;                    // a lock on installation of RetData inside method data
 62 extern Monitor* VMOperation_lock;                // a lock on queue of vm_operations waiting to execute
 63 extern Monitor* Threads_lock;                    // a lock on the Threads table of active Java threads
 64                                                  // (also used by Safepoints too to block threads creation/destruction)
 65 extern Mutex*   NonJavaThreadsList_lock;         // a lock on the NonJavaThreads list
 66 extern Mutex*   NonJavaThreadsListSync_lock;     // a lock for NonJavaThreads list synchronization
 67 extern Monitor* CGC_lock;                        // used for coordination between
 68                                                  // fore- & background GC threads.
< prev index next >