# HG changeset patch # User mgronlun # Date 1401781494 -7200 # Node ID 109aa8e66829be8d43dba56b1faf87b58c3ecb5d # Parent 661f7319af3ba8866e797b2a3447f6b0bb889b25 8044531: Event based tracing locks to rank as leafs where possible Reviewed-by: dcubed, dholmes diff -r 661f7319af3b -r 109aa8e66829 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 }