86 extern Mutex* MultiArray_lock; // a lock used to guard allocation of multi-dim arrays
87 extern Monitor* Terminator_lock; // a lock used to guard termination of the vm
88 extern Monitor* InitCompleted_lock; // a lock used to signal threads waiting on init completed
89 extern Monitor* BeforeExit_lock; // a lock used to guard cleanups and shutdown hooks
90 extern Monitor* Notify_lock; // a lock used to synchronize the start-up of the vm
91 extern Mutex* ProfilePrint_lock; // a lock used to serialize the printing of profiles
92 extern Mutex* ExceptionCache_lock; // a lock used to synchronize exception cache updates
93 extern Mutex* OsrList_lock; // a lock used to serialize access to OSR queues
94 extern Mutex* NMethodSweeperStats_lock; // a lock used to serialize access to sweeper statistics
95
96 #ifndef PRODUCT
97 extern Mutex* FullGCALot_lock; // a lock to make FullGCALot MT safe
98 #endif // PRODUCT
99 extern Mutex* Debug1_lock; // A bunch of pre-allocated locks that can be used for tracing
100 extern Mutex* Debug2_lock; // down synchronization related bugs!
101 extern Mutex* Debug3_lock;
102
103 extern Mutex* RawMonitor_lock;
104 extern Mutex* PerfDataMemAlloc_lock; // a lock on the allocator for PerfData memory for performance data
105 extern Mutex* PerfDataManager_lock; // a long on access to PerfDataManager resources
106 extern Mutex* ParkerFreeList_lock;
107 extern Mutex* OopMapCacheAlloc_lock; // protects allocation of oop_map caches
108
109 extern Mutex* FreeList_lock; // protects the free region list during safepoints
110 extern Mutex* OldSets_lock; // protects the old region sets
111 extern Monitor* RootRegionScan_lock; // used to notify that the CM threads have finished scanning the IM snapshot regions
112
113 extern Mutex* Management_lock; // a lock used to serialize JVM management
114 extern Monitor* Service_lock; // a lock used for service thread operation
115 extern Monitor* PeriodicTask_lock; // protects the periodic task structure
116 extern Monitor* RedefineClasses_lock; // locks classes from parallel redefinition
117 extern Monitor* ThreadsSMRDelete_lock; // Used by ThreadsSMRSupport to take pressure off the Threads_lock
118 extern Mutex* SharedDecoder_lock; // serializes access to the decoder during normal (not error reporting) use
119 extern Mutex* DCmdFactory_lock; // serialize access to DCmdFactory information
120 #if INCLUDE_NMT
121 extern Mutex* NMTQuery_lock; // serialize NMT Dcmd queries
122 #endif
123 #if INCLUDE_CDS
124 #if INCLUDE_JVMTI
125 extern Mutex* CDSClassFileStream_lock; // FileMapInfo::open_stream_for_jvmti
126 #endif
127 extern Mutex* DumpTimeTable_lock; // SystemDictionaryShared::find_or_allocate_info_for
128 #endif // INCLUDE_CDS
129 #if INCLUDE_JFR
130 extern Mutex* JfrStacktrace_lock; // used to guard access to the JFR stacktrace table
131 extern Monitor* JfrMsg_lock; // protects JFR messaging
132 extern Mutex* JfrBuffer_lock; // protects JFR buffer operations
133 extern Mutex* JfrStream_lock; // protects JFR stream access
134 extern Monitor* JfrThreadSampler_lock; // used to suspend/resume JFR thread sampler
135 #endif
136
|
86 extern Mutex* MultiArray_lock; // a lock used to guard allocation of multi-dim arrays
87 extern Monitor* Terminator_lock; // a lock used to guard termination of the vm
88 extern Monitor* InitCompleted_lock; // a lock used to signal threads waiting on init completed
89 extern Monitor* BeforeExit_lock; // a lock used to guard cleanups and shutdown hooks
90 extern Monitor* Notify_lock; // a lock used to synchronize the start-up of the vm
91 extern Mutex* ProfilePrint_lock; // a lock used to serialize the printing of profiles
92 extern Mutex* ExceptionCache_lock; // a lock used to synchronize exception cache updates
93 extern Mutex* OsrList_lock; // a lock used to serialize access to OSR queues
94 extern Mutex* NMethodSweeperStats_lock; // a lock used to serialize access to sweeper statistics
95
96 #ifndef PRODUCT
97 extern Mutex* FullGCALot_lock; // a lock to make FullGCALot MT safe
98 #endif // PRODUCT
99 extern Mutex* Debug1_lock; // A bunch of pre-allocated locks that can be used for tracing
100 extern Mutex* Debug2_lock; // down synchronization related bugs!
101 extern Mutex* Debug3_lock;
102
103 extern Mutex* RawMonitor_lock;
104 extern Mutex* PerfDataMemAlloc_lock; // a lock on the allocator for PerfData memory for performance data
105 extern Mutex* PerfDataManager_lock; // a long on access to PerfDataManager resources
106 extern Mutex* OopMapCacheAlloc_lock; // protects allocation of oop_map caches
107
108 extern Mutex* FreeList_lock; // protects the free region list during safepoints
109 extern Mutex* OldSets_lock; // protects the old region sets
110 extern Monitor* RootRegionScan_lock; // used to notify that the CM threads have finished scanning the IM snapshot regions
111
112 extern Mutex* Management_lock; // a lock used to serialize JVM management
113 extern Monitor* Service_lock; // a lock used for service thread operation
114 extern Monitor* PeriodicTask_lock; // protects the periodic task structure
115 extern Monitor* RedefineClasses_lock; // locks classes from parallel redefinition
116 extern Mutex* Verify_lock; // synchronize initialization of verify library
117 extern Monitor* ThreadsSMRDelete_lock; // Used by ThreadsSMRSupport to take pressure off the Threads_lock
118 extern Mutex* SharedDecoder_lock; // serializes access to the decoder during normal (not error reporting) use
119 extern Mutex* DCmdFactory_lock; // serialize access to DCmdFactory information
120 #if INCLUDE_NMT
121 extern Mutex* NMTQuery_lock; // serialize NMT Dcmd queries
122 #endif
123 #if INCLUDE_CDS
124 #if INCLUDE_JVMTI
125 extern Mutex* CDSClassFileStream_lock; // FileMapInfo::open_stream_for_jvmti
126 #endif
127 extern Mutex* DumpTimeTable_lock; // SystemDictionaryShared::find_or_allocate_info_for
128 #endif // INCLUDE_CDS
129 #if INCLUDE_JFR
130 extern Mutex* JfrStacktrace_lock; // used to guard access to the JFR stacktrace table
131 extern Monitor* JfrMsg_lock; // protects JFR messaging
132 extern Mutex* JfrBuffer_lock; // protects JFR buffer operations
133 extern Mutex* JfrStream_lock; // protects JFR stream access
134 extern Monitor* JfrThreadSampler_lock; // used to suspend/resume JFR thread sampler
135 #endif
136
|