1.1 --- a/src/share/vm/runtime/mutexLocker.cpp Thu Feb 27 19:01:32 2020 +0000 1.2 +++ b/src/share/vm/runtime/mutexLocker.cpp Tue Mar 03 12:57:23 2020 +0000 1.3 @@ -127,12 +127,16 @@ 1.4 Monitor* PeriodicTask_lock = NULL; 1.5 Monitor* RedefineClasses_lock = NULL; 1.6 1.7 -#ifdef INCLUDE_TRACE 1.8 +#ifdef INCLUDE_JFR 1.9 Mutex* JfrStacktrace_lock = NULL; 1.10 Monitor* JfrMsg_lock = NULL; 1.11 Mutex* JfrBuffer_lock = NULL; 1.12 Mutex* JfrStream_lock = NULL; 1.13 Mutex* JfrThreadGroups_lock = NULL; 1.14 + 1.15 +#ifndef SUPPORTS_NATIVE_CX8 1.16 +Mutex* JfrCounters_lock = NULL; 1.17 +#endif 1.18 #endif 1.19 1.20 #ifndef SUPPORTS_NATIVE_CX8 1.21 @@ -282,12 +286,16 @@ 1.22 def(PeriodicTask_lock , Monitor, nonleaf+5, true); 1.23 def(RedefineClasses_lock , Monitor, nonleaf+5, true); 1.24 1.25 -#ifdef INCLUDE_TRACE 1.26 +#if INCLUDE_JFR 1.27 def(JfrMsg_lock , Monitor, leaf, true); 1.28 def(JfrBuffer_lock , Mutex, leaf, true); 1.29 def(JfrThreadGroups_lock , Mutex, leaf, true); 1.30 def(JfrStream_lock , Mutex, nonleaf, true); 1.31 def(JfrStacktrace_lock , Mutex, special, true); 1.32 + 1.33 +#ifndef SUPPORTS_NATIVE_CX8 1.34 + def(JfrCounters_lock , Mutex, special, false); 1.35 +#endif 1.36 #endif 1.37 1.38 #ifndef SUPPORTS_NATIVE_CX8