< prev index next >
src/share/vm/runtime/mutexLocker.cpp
Print this page
@@ -124,16 +124,20 @@
Mutex* Management_lock = NULL;
Monitor* Service_lock = NULL;
Monitor* PeriodicTask_lock = NULL;
-#ifdef INCLUDE_TRACE
+#ifdef INCLUDE_JFR
Mutex* JfrStacktrace_lock = NULL;
Monitor* JfrMsg_lock = NULL;
Mutex* JfrBuffer_lock = NULL;
Mutex* JfrStream_lock = NULL;
Mutex* JfrThreadGroups_lock = NULL;
+
+#ifndef SUPPORTS_NATIVE_CX8
+Mutex* JfrCounters_lock = NULL;
+#endif
#endif
#ifndef SUPPORTS_NATIVE_CX8
Mutex* UnsafeJlong_lock = NULL;
#endif
@@ -278,16 +282,20 @@
def(Debug3_lock , Mutex , nonleaf+4, true );
def(ProfileVM_lock , Monitor, special, false); // used for profiling of the VMThread
def(CompileThread_lock , Monitor, nonleaf+5, false );
def(PeriodicTask_lock , Monitor, nonleaf+5, true);
-#ifdef INCLUDE_TRACE
+#ifdef INCLUDE_JFR
def(JfrMsg_lock , Monitor, leaf, true);
def(JfrBuffer_lock , Mutex, leaf, true);
def(JfrThreadGroups_lock , Mutex, leaf, true);
def(JfrStream_lock , Mutex, nonleaf, true);
def(JfrStacktrace_lock , Mutex, special, true);
+
+#ifndef SUPPORTS_NATIVE_CX8
+ def(JfrCounters_lock , Mutex, special, false);
+#endif
#endif
#ifndef SUPPORTS_NATIVE_CX8
def(UnsafeJlong_lock , Mutex, special, false);
#endif
< prev index next >