8044531: Event based tracing locks to rank as leafs where possible
authormgronlun
Tue, 03 Jun 2014 09:44:54 +0200
changeset 24839 109aa8e66829
parent 24838 661f7319af3b
child 24840 96be34dfc72a
8044531: Event based tracing locks to rank as leafs where possible Reviewed-by: dcubed, dholmes
hotspot/src/share/vm/runtime/mutexLocker.cpp
--- a/hotspot/src/share/vm/runtime/mutexLocker.cpp	Mon Jun 02 18:15:18 2014 +0000
+++ b/hotspot/src/share/vm/runtime/mutexLocker.cpp	Tue Jun 03 09:44:54 2014 +0200
@@ -280,10 +280,10 @@
 
 #ifdef INCLUDE_TRACE
   def(JfrMsg_lock                  , Monitor, leaf,        true);
-  def(JfrBuffer_lock               , Mutex,   nonleaf+1,   true);
-  def(JfrThreadGroups_lock         , Mutex,   nonleaf+1,   true);
-  def(JfrStream_lock               , Mutex,   nonleaf+2,   true);
-  def(JfrStacktrace_lock           , Mutex,   special,     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);
 #endif
 
 }