src/hotspot/share/classfile/javaClasses.cpp
changeset 58956 9a0a5e70eeb2
parent 58901 2700c409ff10
child 59056 15936b142f86
--- a/src/hotspot/share/classfile/javaClasses.cpp	Thu Nov 07 03:01:52 2019 +0100
+++ b/src/hotspot/share/classfile/javaClasses.cpp	Wed Nov 06 21:18:42 2019 -0500
@@ -1681,13 +1681,6 @@
 }
 
 bool java_lang_Thread::interrupted(oop java_thread) {
-#if INCLUDE_JFR
-  if (java_thread == NULL) {
-    // can happen from Jfr::on_vm_init leading to call of JavaThread::sleep
-    assert(!is_init_completed(), "should only happen during init");
-    return false;
-  }
-#endif
   return java_thread->bool_field_volatile(_interrupted_offset);
 }