< prev index next >

src/hotspot/share/runtime/mutexLocker.hpp

Print this page
rev 50285 : 8195097: Make it possible to process StringTable outside safepoint
Reviewed-by:


  25 #ifndef SHARE_VM_RUNTIME_MUTEXLOCKER_HPP
  26 #define SHARE_VM_RUNTIME_MUTEXLOCKER_HPP
  27 
  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 Monitor* SystemDictionary_lock;           // a lock on the system dictionary
  36 extern Mutex*   SharedDictionary_lock;           // a lock on the CDS shared dictionary
  37 extern Mutex*   Module_lock;                     // a lock on module and package related data structures
  38 extern Mutex*   CompiledIC_lock;                 // a lock used to guard compiled IC patching and access
  39 extern Mutex*   InlineCacheBuffer_lock;          // a lock used to guard the InlineCacheBuffer
  40 extern Mutex*   VMStatistic_lock;                // a lock used to guard statistics count increment
  41 extern Mutex*   JNIGlobalAlloc_lock;             // JNI global storage allocate list lock
  42 extern Mutex*   JNIGlobalActive_lock;            // JNI global storage active list lock
  43 extern Mutex*   JNIWeakAlloc_lock;               // JNI weak storage allocate list lock
  44 extern Mutex*   JNIWeakActive_lock;              // JNI weak storage active list lock


  45 extern Mutex*   JNIHandleBlockFreeList_lock;     // a lock on the JNI handle block free list
  46 extern Mutex*   VMWeakAlloc_lock;                // VM Weak Handles storage allocate list lock
  47 extern Mutex*   VMWeakActive_lock;               // VM Weak Handles storage active list lock
  48 extern Mutex*   ResolvedMethodTable_lock;        // a lock on the ResolvedMethodTable updates
  49 extern Mutex*   JmethodIdCreation_lock;          // a lock on creating JNI method identifiers
  50 extern Mutex*   JfieldIdCreation_lock;           // a lock on creating JNI static field identifiers
  51 extern Monitor* JNICritical_lock;                // a lock used while entering and exiting JNI critical regions, allows GC to sometimes get in
  52 extern Mutex*   JvmtiThreadState_lock;           // a lock on modification of JVMTI thread data
  53 extern Monitor* Heap_lock;                       // a lock on the heap
  54 extern Mutex*   ExpandHeap_lock;                 // a lock on expanding the heap
  55 extern Mutex*   AdapterHandlerLibrary_lock;      // a lock on the AdapterHandlerLibrary
  56 extern Mutex*   SignatureHandlerLibrary_lock;    // a lock on the SignatureHandlerLibrary
  57 extern Mutex*   VtableStubs_lock;                // a lock on the VtableStubs
  58 extern Mutex*   SymbolTable_lock;                // a lock on the symbol table
  59 extern Mutex*   StringTable_lock;                // a lock on the interned string table
  60 extern Monitor* StringDedupQueue_lock;           // a lock on the string deduplication queue
  61 extern Mutex*   StringDedupTable_lock;           // a lock on the string deduplication table
  62 extern Monitor* CodeCache_lock;                  // a lock on the CodeCache, rank is special, use MutexLockerEx
  63 extern Mutex*   MethodData_lock;                 // a lock on installation of method data
  64 extern Mutex*   TouchedMethodLog_lock;           // a lock on allocation of LogExecutedMethods info




  25 #ifndef SHARE_VM_RUNTIME_MUTEXLOCKER_HPP
  26 #define SHARE_VM_RUNTIME_MUTEXLOCKER_HPP
  27 
  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 Monitor* SystemDictionary_lock;           // a lock on the system dictionary
  36 extern Mutex*   SharedDictionary_lock;           // a lock on the CDS shared dictionary
  37 extern Mutex*   Module_lock;                     // a lock on module and package related data structures
  38 extern Mutex*   CompiledIC_lock;                 // a lock used to guard compiled IC patching and access
  39 extern Mutex*   InlineCacheBuffer_lock;          // a lock used to guard the InlineCacheBuffer
  40 extern Mutex*   VMStatistic_lock;                // a lock used to guard statistics count increment
  41 extern Mutex*   JNIGlobalAlloc_lock;             // JNI global storage allocate list lock
  42 extern Mutex*   JNIGlobalActive_lock;            // JNI global storage active list lock
  43 extern Mutex*   JNIWeakAlloc_lock;               // JNI weak storage allocate list lock
  44 extern Mutex*   JNIWeakActive_lock;              // JNI weak storage active list lock
  45 extern Mutex*   StringTableWeakAlloc_lock;       // StringTable weak storage allocate list lock
  46 extern Mutex*   StringTableWeakActive_lock;      // STringTable weak storage active list lock
  47 extern Mutex*   JNIHandleBlockFreeList_lock;     // a lock on the JNI handle block free list
  48 extern Mutex*   VMWeakAlloc_lock;                // VM Weak Handles storage allocate list lock
  49 extern Mutex*   VMWeakActive_lock;               // VM Weak Handles storage active list lock
  50 extern Mutex*   ResolvedMethodTable_lock;        // a lock on the ResolvedMethodTable updates
  51 extern Mutex*   JmethodIdCreation_lock;          // a lock on creating JNI method identifiers
  52 extern Mutex*   JfieldIdCreation_lock;           // a lock on creating JNI static field identifiers
  53 extern Monitor* JNICritical_lock;                // a lock used while entering and exiting JNI critical regions, allows GC to sometimes get in
  54 extern Mutex*   JvmtiThreadState_lock;           // a lock on modification of JVMTI thread data
  55 extern Monitor* Heap_lock;                       // a lock on the heap
  56 extern Mutex*   ExpandHeap_lock;                 // a lock on expanding the heap
  57 extern Mutex*   AdapterHandlerLibrary_lock;      // a lock on the AdapterHandlerLibrary
  58 extern Mutex*   SignatureHandlerLibrary_lock;    // a lock on the SignatureHandlerLibrary
  59 extern Mutex*   VtableStubs_lock;                // a lock on the VtableStubs
  60 extern Mutex*   SymbolTable_lock;                // a lock on the symbol table
  61 extern Mutex*   StringTable_lock;                // a lock on the interned string table
  62 extern Monitor* StringDedupQueue_lock;           // a lock on the string deduplication queue
  63 extern Mutex*   StringDedupTable_lock;           // a lock on the string deduplication table
  64 extern Monitor* CodeCache_lock;                  // a lock on the CodeCache, rank is special, use MutexLockerEx
  65 extern Mutex*   MethodData_lock;                 // a lock on installation of method data
  66 extern Mutex*   TouchedMethodLog_lock;           // a lock on allocation of LogExecutedMethods info


< prev index next >