hotspot/src/share/vm/classfile/javaClasses.cpp
changeset 18066 b4b1f65075e5
parent 18065 7d53ab28f937
parent 18025 b7bcf7497f93
child 19266 bb0324cbe0aa
--- a/hotspot/src/share/vm/classfile/javaClasses.cpp	Mon Jun 17 11:17:49 2013 +0100
+++ b/hotspot/src/share/vm/classfile/javaClasses.cpp	Wed Jun 19 11:02:10 2013 +0100
@@ -961,7 +961,7 @@
 
 // Read thread status value from threadStatus field in java.lang.Thread java class.
 java_lang_Thread::ThreadStatus java_lang_Thread::get_thread_status(oop java_thread) {
-  assert(Thread::current()->is_VM_thread() ||
+  assert(Thread::current()->is_Watcher_thread() || Thread::current()->is_VM_thread() ||
          JavaThread::current()->thread_state() == _thread_in_vm,
          "Java Thread is not running in vm");
   // The threadStatus is only present starting in 1.5