108 extern Monitor* BeforeExit_lock; // a lock used to guard cleanups and shutdown hooks |
108 extern Monitor* BeforeExit_lock; // a lock used to guard cleanups and shutdown hooks |
109 extern Monitor* Notify_lock; // a lock used to synchronize the start-up of the vm |
109 extern Monitor* Notify_lock; // a lock used to synchronize the start-up of the vm |
110 extern Mutex* ProfilePrint_lock; // a lock used to serialize the printing of profiles |
110 extern Mutex* ProfilePrint_lock; // a lock used to serialize the printing of profiles |
111 extern Mutex* ExceptionCache_lock; // a lock used to synchronize exception cache updates |
111 extern Mutex* ExceptionCache_lock; // a lock used to synchronize exception cache updates |
112 extern Mutex* OsrList_lock; // a lock used to serialize access to OSR queues |
112 extern Mutex* OsrList_lock; // a lock used to serialize access to OSR queues |
|
113 extern Mutex* NMethodSweeperStats_lock; // a lock used to serialize access to sweeper statistics |
113 |
114 |
114 #ifndef PRODUCT |
115 #ifndef PRODUCT |
115 extern Mutex* FullGCALot_lock; // a lock to make FullGCALot MT safe |
116 extern Mutex* FullGCALot_lock; // a lock to make FullGCALot MT safe |
116 #endif // PRODUCT |
117 #endif // PRODUCT |
117 extern Mutex* Debug1_lock; // A bunch of pre-allocated locks that can be used for tracing |
118 extern Mutex* Debug1_lock; // A bunch of pre-allocated locks that can be used for tracing |
130 |
131 |
131 extern Mutex* Management_lock; // a lock used to serialize JVM management |
132 extern Mutex* Management_lock; // a lock used to serialize JVM management |
132 extern Monitor* Service_lock; // a lock used for service thread operation |
133 extern Monitor* Service_lock; // a lock used for service thread operation |
133 extern Monitor* PeriodicTask_lock; // protects the periodic task structure |
134 extern Monitor* PeriodicTask_lock; // protects the periodic task structure |
134 extern Monitor* RedefineClasses_lock; // locks classes from parallel redefinition |
135 extern Monitor* RedefineClasses_lock; // locks classes from parallel redefinition |
135 |
136 extern Monitor* ThreadsSMRDelete_lock; // Used by ThreadsSMRSupport to take pressure off the Threads_lock |
|
137 extern Mutex* SharedDecoder_lock; // serializes access to the decoder during normal (not error reporting) use |
|
138 extern Mutex* DCmdFactory_lock; // serialize access to DCmdFactory information |
136 #if INCLUDE_JFR |
139 #if INCLUDE_JFR |
137 extern Mutex* JfrStacktrace_lock; // used to guard access to the JFR stacktrace table |
140 extern Mutex* JfrStacktrace_lock; // used to guard access to the JFR stacktrace table |
138 extern Monitor* JfrMsg_lock; // protects JFR messaging |
141 extern Monitor* JfrMsg_lock; // protects JFR messaging |
139 extern Mutex* JfrBuffer_lock; // protects JFR buffer operations |
142 extern Mutex* JfrBuffer_lock; // protects JFR buffer operations |
140 extern Mutex* JfrStream_lock; // protects JFR stream access |
143 extern Mutex* JfrStream_lock; // protects JFR stream access |
|
144 extern Monitor* JfrThreadSampler_lock; // used to suspend/resume JFR thread sampler |
141 #endif |
145 #endif |
142 |
146 |
143 #ifndef SUPPORTS_NATIVE_CX8 |
147 #ifndef SUPPORTS_NATIVE_CX8 |
144 extern Mutex* UnsafeJlong_lock; // provides Unsafe atomic updates to jlongs on platforms that don't support cx8 |
148 extern Mutex* UnsafeJlong_lock; // provides Unsafe atomic updates to jlongs on platforms that don't support cx8 |
145 #endif |
149 #endif |