1.1 --- a/src/share/vm/runtime/mutexLocker.hpp Thu Feb 27 19:01:32 2020 +0000 1.2 +++ b/src/share/vm/runtime/mutexLocker.hpp Tue Mar 03 12:57:23 2020 +0000 1.3 @@ -143,12 +143,17 @@ 1.4 extern Monitor* PeriodicTask_lock; // protects the periodic task structure 1.5 extern Monitor* RedefineClasses_lock; // locks classes from parallel redefinition 1.6 1.7 -#ifdef INCLUDE_TRACE 1.8 +#if 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