diff src/share/vm/classfile/javaClasses.cpp @ 7629:22ba8c8ce6a6

8004902: correctness fixes motivated by contended locking work (6607129) Summary: misc correctness fixes Reviewed-by: acorn, dholmes, dice, sspitsyn Contributed-by: dave.dice@oracle.com
author dcubed
date Tue, 22 Jan 2013 05:56:42 -0800
parents c73c3f2c5b3b
children 3ac7d10a6572 6337ca4dcad8 b295e132102d
line wrap: on
line diff
--- a/src/share/vm/classfile/javaClasses.cpp	Tue Jan 22 05:55:04 2013 -0800
+++ b/src/share/vm/classfile/javaClasses.cpp	Tue Jan 22 05:56:42 2013 -0800
@@ -911,7 +911,6 @@
 // Write the thread status value to threadStatus field in java.lang.Thread java class.
 void java_lang_Thread::set_thread_status(oop java_thread,
                                          java_lang_Thread::ThreadStatus status) {
-  assert(JavaThread::current()->thread_state() == _thread_in_vm, "Java Thread is not running in vm");
   // The threadStatus is only present starting in 1.5
   if (_thread_status_offset > 0) {
     java_thread->int_field_put(_thread_status_offset, status);