< prev index next >

src/hotspot/share/runtime/mutexLocker.hpp

Print this page

 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*   JNIHandleBlockFreeList_lock;     // a lock on the JNI handle block free list
 44 extern Mutex*   JmethodIdCreation_lock;          // a lock on creating JNI method identifiers
 45 extern Mutex*   JfieldIdCreation_lock;           // a lock on creating JNI static field identifiers
 46 extern Monitor* JNICritical_lock;                // a lock used while entering and exiting JNI critical regions, allows GC to sometimes get in
 47 extern Mutex*   JvmtiThreadState_lock;           // a lock on modification of JVMTI thread data
 48 extern Monitor* EscapeBarrier_lock;              // a lock to sync reallocating and relocking objects because of JVMTI access

 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.

 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*   JNIHandleBlockFreeList_lock;     // a lock on the JNI handle block free list
 44 extern Mutex*   JmethodIdCreation_lock;          // a lock on creating JNI method identifiers
 45 extern Mutex*   JfieldIdCreation_lock;           // a lock on creating JNI static field identifiers
 46 extern Monitor* JNICritical_lock;                // a lock used while entering and exiting JNI critical regions, allows GC to sometimes get in
 47 extern Mutex*   JvmtiThreadState_lock;           // a lock on modification of JVMTI thread data
 48 extern Monitor* EscapeBarrier_lock;              // a lock to sync reallocating and relocking objects because of JVMTI access
 49 extern Monitor* JvmtiVTMT_lock;                  // a lock for Virtual Thread Mount Transition (VTMT) management
 50 extern Monitor* Heap_lock;                       // a lock on the heap
 51 extern Mutex*   ExpandHeap_lock;                 // a lock on expanding the heap
 52 extern Mutex*   AdapterHandlerLibrary_lock;      // a lock on the AdapterHandlerLibrary
 53 extern Mutex*   SignatureHandlerLibrary_lock;    // a lock on the SignatureHandlerLibrary
 54 extern Mutex*   VtableStubs_lock;                // a lock on the VtableStubs
 55 extern Mutex*   SymbolArena_lock;                // a lock on the symbol table arena
 56 extern Monitor* StringDedup_lock;                // a lock on the string deduplication facility
 57 extern Mutex*   StringDedupIntern_lock;          // a lock on StringTable notification of StringDedup
 58 extern Monitor* CodeCache_lock;                  // a lock on the CodeCache
 59 extern Monitor* CodeSweeper_lock;                // a lock used by the sweeper only for wait notify
 60 extern Mutex*   MethodData_lock;                 // a lock on installation of method data
 61 extern Mutex*   TouchedMethodLog_lock;           // a lock on allocation of LogExecutedMethods info
 62 extern Mutex*   RetData_lock;                    // a lock on installation of RetData inside method data
 63 extern Monitor* VMOperation_lock;                // a lock on queue of vm_operations waiting to execute
 64 extern Monitor* Threads_lock;                    // a lock on the Threads table of active Java threads
 65                                                  // (also used by Safepoints too to block threads creation/destruction)
 66 extern Mutex*   NonJavaThreadsList_lock;         // a lock on the NonJavaThreads list
 67 extern Mutex*   NonJavaThreadsListSync_lock;     // a lock for NonJavaThreads list synchronization
 68 extern Monitor* CGC_lock;                        // used for coordination between
 69                                                  // fore- & background GC threads.
< prev index next >