changeset 4283:331dc65d57d7

8005572: fatal error: acquiring lock JfrBuffer_lock/19 out of order with lock MethodData_lock/19 -- possible deadlock Reviewed-by: mgronlun, dholmes
author sla
date Fri, 08 Feb 2013 14:27:04 +0100
parents 18c8cdc40cdf
children be21f8a4d42c
files src/share/vm/runtime/mutexLocker.cpp
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/runtime/mutexLocker.cpp	Fri Mar 01 13:33:21 2013 -0800
+++ b/src/share/vm/runtime/mutexLocker.cpp	Fri Feb 08 14:27:04 2013 +0100
@@ -281,8 +281,8 @@
   def(CompileThread_lock           , Monitor, nonleaf+5,   false );
 
   def(JfrMsg_lock                  , Monitor, nonleaf+2,   true);
-  def(JfrBuffer_lock               , Mutex,   nonleaf+3,   true);
-  def(JfrStream_lock               , Mutex,   nonleaf+4,   true);
+  def(JfrBuffer_lock               , Mutex,   nonleaf+4,   true);
+  def(JfrStream_lock               , Mutex,   nonleaf+5,   true);
   def(PeriodicTask_lock            , Monitor, nonleaf+5,   true);
 }