changeset 39208:2fb442b1e05d

8149803: Adjust lock rankings for some Event-based tracing locks Reviewed-by: dholmes, acorn
author mgronlun
date Mon, 06 Jun 2016 20:48:56 +0200
parents 2e5c855d6b1e
children 1f9e8543cffd
files hotspot/src/share/vm/runtime/mutexLocker.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hotspot/src/share/vm/runtime/mutexLocker.cpp	Fri Jun 03 17:45:03 2016 -0400
+++ b/hotspot/src/share/vm/runtime/mutexLocker.cpp	Mon Jun 06 20:48:56 2016 +0200
@@ -274,7 +274,7 @@
   def(JfrMsg_lock                  , Monitor, leaf,        true,  Monitor::_safepoint_check_always);
   def(JfrBuffer_lock               , Mutex,   leaf,        true,  Monitor::_safepoint_check_never);
   def(JfrThreadGroups_lock         , Mutex,   leaf,        true,  Monitor::_safepoint_check_always);
-  def(JfrStream_lock               , Mutex,   nonleaf,     true,  Monitor::_safepoint_check_never);
+  def(JfrStream_lock               , Mutex,   leaf+1,      true,  Monitor::_safepoint_check_never);      // ensure to rank lower than 'safepoint'
   def(JfrStacktrace_lock           , Mutex,   special,     true,  Monitor::_safepoint_check_sometimes);
 #endif