105
106 #ifndef PRODUCT
107 extern Mutex* FullGCALot_lock; // a lock to make FullGCALot MT safe
108 #endif // PRODUCT
109 extern Mutex* Debug1_lock; // A bunch of pre-allocated locks that can be used for tracing
110 extern Mutex* Debug2_lock; // down synchronization related bugs!
111 extern Mutex* Debug3_lock;
112
113 extern Mutex* RawMonitor_lock;
114 extern Mutex* PerfDataMemAlloc_lock; // a lock on the allocator for PerfData memory for performance data
115 extern Mutex* PerfDataManager_lock; // a long on access to PerfDataManager resources
116 extern Mutex* ParkerFreeList_lock;
117 extern Mutex* OopMapCacheAlloc_lock; // protects allocation of oop_map caches
118
119 extern Mutex* FreeList_lock; // protects the free region list during safepoints
120 extern Mutex* OldSets_lock; // protects the old region sets
121 extern Monitor* RootRegionScan_lock; // used to notify that the CM threads have finished scanning the IM snapshot regions
122
123 extern Mutex* Management_lock; // a lock used to serialize JVM management
124 extern Monitor* Service_lock; // a lock used for service thread operation
125 extern Monitor* PeriodicTask_lock; // protects the periodic task structure
126 extern Monitor* RedefineClasses_lock; // locks classes from parallel redefinition
127 extern Monitor* ThreadsSMRDelete_lock; // Used by ThreadsSMRSupport to take pressure off the Threads_lock
128 extern Mutex* SharedDecoder_lock; // serializes access to the decoder during normal (not error reporting) use
129 extern Mutex* DCmdFactory_lock; // serialize access to DCmdFactory information
130 #if INCLUDE_NMT
131 extern Mutex* NMTQuery_lock; // serialize NMT Dcmd queries
132 #endif
133 #if INCLUDE_CDS
134 #if INCLUDE_JVMTI
135 extern Mutex* CDSClassFileStream_lock; // FileMapInfo::open_stream_for_jvmti
136 #endif
137 extern Mutex* DumpTimeTable_lock; // SystemDictionaryShared::find_or_allocate_info_for
138 #endif // INCLUDE_CDS
139 #if INCLUDE_JFR
140 extern Mutex* JfrStacktrace_lock; // used to guard access to the JFR stacktrace table
141 extern Monitor* JfrMsg_lock; // protects JFR messaging
142 extern Mutex* JfrBuffer_lock; // protects JFR buffer operations
143 extern Mutex* JfrStream_lock; // protects JFR stream access
144 extern Monitor* JfrThreadSampler_lock; // used to suspend/resume JFR thread sampler
|
105
106 #ifndef PRODUCT
107 extern Mutex* FullGCALot_lock; // a lock to make FullGCALot MT safe
108 #endif // PRODUCT
109 extern Mutex* Debug1_lock; // A bunch of pre-allocated locks that can be used for tracing
110 extern Mutex* Debug2_lock; // down synchronization related bugs!
111 extern Mutex* Debug3_lock;
112
113 extern Mutex* RawMonitor_lock;
114 extern Mutex* PerfDataMemAlloc_lock; // a lock on the allocator for PerfData memory for performance data
115 extern Mutex* PerfDataManager_lock; // a long on access to PerfDataManager resources
116 extern Mutex* ParkerFreeList_lock;
117 extern Mutex* OopMapCacheAlloc_lock; // protects allocation of oop_map caches
118
119 extern Mutex* FreeList_lock; // protects the free region list during safepoints
120 extern Mutex* OldSets_lock; // protects the old region sets
121 extern Monitor* RootRegionScan_lock; // used to notify that the CM threads have finished scanning the IM snapshot regions
122
123 extern Mutex* Management_lock; // a lock used to serialize JVM management
124 extern Monitor* Service_lock; // a lock used for service thread operation
125 extern Monitor* Notification_lock; // a lock used for notification thread operation
126 extern Monitor* PeriodicTask_lock; // protects the periodic task structure
127 extern Monitor* RedefineClasses_lock; // locks classes from parallel redefinition
128 extern Monitor* ThreadsSMRDelete_lock; // Used by ThreadsSMRSupport to take pressure off the Threads_lock
129 extern Mutex* SharedDecoder_lock; // serializes access to the decoder during normal (not error reporting) use
130 extern Mutex* DCmdFactory_lock; // serialize access to DCmdFactory information
131 #if INCLUDE_NMT
132 extern Mutex* NMTQuery_lock; // serialize NMT Dcmd queries
133 #endif
134 #if INCLUDE_CDS
135 #if INCLUDE_JVMTI
136 extern Mutex* CDSClassFileStream_lock; // FileMapInfo::open_stream_for_jvmti
137 #endif
138 extern Mutex* DumpTimeTable_lock; // SystemDictionaryShared::find_or_allocate_info_for
139 #endif // INCLUDE_CDS
140 #if INCLUDE_JFR
141 extern Mutex* JfrStacktrace_lock; // used to guard access to the JFR stacktrace table
142 extern Monitor* JfrMsg_lock; // protects JFR messaging
143 extern Mutex* JfrBuffer_lock; // protects JFR buffer operations
144 extern Mutex* JfrStream_lock; // protects JFR stream access
145 extern Monitor* JfrThreadSampler_lock; // used to suspend/resume JFR thread sampler
|