140 |
140 |
141 extern Mutex* Management_lock; // a lock used to serialize JVM management |
141 extern Mutex* Management_lock; // a lock used to serialize JVM management |
142 extern Monitor* Service_lock; // a lock used for service thread operation |
142 extern Monitor* Service_lock; // a lock used for service thread operation |
143 extern Monitor* PeriodicTask_lock; // protects the periodic task structure |
143 extern Monitor* PeriodicTask_lock; // protects the periodic task structure |
144 |
144 |
145 #ifdef INCLUDE_TRACE |
145 #ifdef INCLUDE_JFR |
146 extern Mutex* JfrStacktrace_lock; // used to guard access to the JFR stacktrace table |
146 extern Mutex* JfrStacktrace_lock; // used to guard access to the JFR stacktrace table |
147 extern Monitor* JfrMsg_lock; // protects JFR messaging |
147 extern Monitor* JfrMsg_lock; // protects JFR messaging |
148 extern Mutex* JfrBuffer_lock; // protects JFR buffer operations |
148 extern Mutex* JfrBuffer_lock; // protects JFR buffer operations |
149 extern Mutex* JfrStream_lock; // protects JFR stream access |
149 extern Mutex* JfrStream_lock; // protects JFR stream access |
150 extern Mutex* JfrThreadGroups_lock; // protects JFR access to Thread Groups |
150 extern Mutex* JfrThreadGroups_lock; // protects JFR access to Thread Groups |
|
151 |
|
152 #ifndef SUPPORTS_NATIVE_CX8 |
|
153 extern Mutex* JfrCounters_lock; // provides atomic updates of JFR counters |
|
154 #endif |
|
155 |
151 #endif |
156 #endif |
152 |
157 |
153 #ifndef SUPPORTS_NATIVE_CX8 |
158 #ifndef SUPPORTS_NATIVE_CX8 |
154 extern Mutex* UnsafeJlong_lock; // provides Unsafe atomic updates to jlongs on platforms that don't support cx8 |
159 extern Mutex* UnsafeJlong_lock; // provides Unsafe atomic updates to jlongs on platforms that don't support cx8 |
155 #endif |
160 #endif |