1.1 --- a/src/share/vm/runtime/mutexLocker.cpp Thu Aug 01 03:44:03 2019 +0100 1.2 +++ b/src/share/vm/runtime/mutexLocker.cpp Mon Aug 12 18:30:40 2019 +0300 1.3 @@ -126,12 +126,16 @@ 1.4 Monitor* Service_lock = NULL; 1.5 Monitor* PeriodicTask_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 @@ -280,12 +284,16 @@ 1.22 def(CompileThread_lock , Monitor, nonleaf+5, false ); 1.23 def(PeriodicTask_lock , Monitor, nonleaf+5, true); 1.24 1.25 -#ifdef INCLUDE_TRACE 1.26 +#ifdef 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