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
128 #if INCLUDE_TRACE
129 extern Mutex* JfrStacktrace_lock; // used to guard access to the JFR stacktrace table
130 extern Monitor* JfrMsg_lock; // protects JFR messaging
131 extern Mutex* JfrBuffer_lock; // protects JFR buffer operations
132 extern Mutex* JfrStream_lock; // protects JFR stream access
133 #endif
134
135 #ifndef SUPPORTS_NATIVE_CX8
136 extern Mutex* UnsafeJlong_lock; // provides Unsafe atomic updates to jlongs on platforms that don't support cx8
137 #endif
138
139 extern Mutex* MetaspaceExpand_lock; // protects Metaspace virtualspace and chunk expansions
140
141
142 extern Monitor* CodeHeapStateAnalytics_lock; // lock print functions against concurrent analyze functions.
143 // Only used locally in PrintCodeCacheLayout processing.
144
145 // A MutexLocker provides mutual exclusion with respect to a given mutex
146 // for the scope which contains the locker. The lock is an OS lock, not
|
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 Mutex* ThreadHeapSampler_lock; // protects the static data for initialization.
128
129 #if INCLUDE_TRACE
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 #endif
135
136 #ifndef SUPPORTS_NATIVE_CX8
137 extern Mutex* UnsafeJlong_lock; // provides Unsafe atomic updates to jlongs on platforms that don't support cx8
138 #endif
139
140 extern Mutex* MetaspaceExpand_lock; // protects Metaspace virtualspace and chunk expansions
141
142
143 extern Monitor* CodeHeapStateAnalytics_lock; // lock print functions against concurrent analyze functions.
144 // Only used locally in PrintCodeCacheLayout processing.
145
146 // A MutexLocker provides mutual exclusion with respect to a given mutex
147 // for the scope which contains the locker. The lock is an OS lock, not
|