diff src/share/vm/runtime/thread.cpp @ 979:87770dcf831b

6876794: 4/4 sp07t002 hangs very intermittently Summary: remove over locking by VMThread on "is thread suspended?" check Reviewed-by: dholmes, acorn, andrew
author dcubed
date Tue, 22 Sep 2009 21:12:37 -0600
parents bd02caa94611
children 46b819ba120b
line wrap: on
line diff
--- a/src/share/vm/runtime/thread.cpp	Mon Sep 21 18:10:22 2009 -0400
+++ b/src/share/vm/runtime/thread.cpp	Tue Sep 22 21:12:37 2009 -0600
@@ -1942,7 +1942,7 @@
 
   MutexLockerEx ml(SR_lock(), Mutex::_no_safepoint_check_flag);
 
-  assert(!this->is_any_suspended(),
+  assert(!this->is_ext_suspended(),
     "a thread trying to self-suspend should not already be suspended");
 
   if (this->is_suspend_equivalent()) {