src/hotspot/share/compiler/compileBroker.cpp
changeset 57758 91a758925be7
parent 55635 0fb70c9118ce
child 57840 4863a802a7c1
--- a/src/hotspot/share/compiler/compileBroker.cpp	Thu Aug 15 14:00:36 2019 +0800
+++ b/src/hotspot/share/compiler/compileBroker.cpp	Thu Aug 15 09:06:42 2019 +0200
@@ -1546,7 +1546,6 @@
   assert(task->is_blocking(), "can only wait on blocking task");
 
   JavaThread* thread = JavaThread::current();
-  thread->set_blocked_on_compilation(true);
 
   methodHandle method(thread, task->method());
   bool free_task;
@@ -1564,7 +1563,6 @@
     }
   }
 
-  thread->set_blocked_on_compilation(false);
   if (free_task) {
     if (is_compilation_disabled_forever()) {
       CompileTask::free(task);