1.1 --- a/src/share/vm/runtime/mutexLocker.hpp Thu Aug 01 03:44:03 2019 +0100 1.2 +++ b/src/share/vm/runtime/mutexLocker.hpp Mon Aug 12 18:30:40 2019 +0300 1.3 @@ -142,12 +142,17 @@ 1.4 extern Monitor* Service_lock; // a lock used for service thread operation 1.5 extern Monitor* PeriodicTask_lock; // protects the periodic task structure 1.6 1.7 -#ifdef INCLUDE_TRACE 1.8 +#ifdef INCLUDE_JFR 1.9 extern Mutex* JfrStacktrace_lock; // used to guard access to the JFR stacktrace table 1.10 extern Monitor* JfrMsg_lock; // protects JFR messaging 1.11 extern Mutex* JfrBuffer_lock; // protects JFR buffer operations 1.12 extern Mutex* JfrStream_lock; // protects JFR stream access 1.13 extern Mutex* JfrThreadGroups_lock; // protects JFR access to Thread Groups 1.14 + 1.15 +#ifndef SUPPORTS_NATIVE_CX8 1.16 +extern Mutex* JfrCounters_lock; // provides atomic updates of JFR counters 1.17 +#endif 1.18 + 1.19 #endif 1.20 1.21 #ifndef SUPPORTS_NATIVE_CX8