diff src/share/vm/runtime/synchronizer.cpp @ 8673:5ee250974db9

8007476: assert(the_owner != NULL) failed: Did not find owning Java thread for lock word address Summary: Make deadlock detection a little more robust in the case of being unable to find the JavaThread associated with an object lock. Reviewed-by: sla, acorn
author dcubed
date Wed, 27 Feb 2013 15:00:30 -0800
parents 9fae07c31641
children b9a918201d47 cc32ccaaf47f
line wrap: on
line diff
--- a/src/share/vm/runtime/synchronizer.cpp	Wed Feb 27 16:40:30 2013 +0000
+++ b/src/share/vm/runtime/synchronizer.cpp	Wed Feb 27 15:00:30 2013 -0800
@@ -813,6 +813,7 @@
   }
 
   if (owner != NULL) {
+    // owning_thread_from_monitor_owner() may also return NULL here
     return Threads::owning_thread_from_monitor_owner(owner, doLock);
   }