src/hotspot/share/compiler/compileBroker.cpp
changeset 54801 ac8493c4a747
parent 54786 ebf733a324d4
child 54973 0927d8c7296f
--- a/src/hotspot/share/compiler/compileBroker.cpp	Thu May 09 18:42:07 2019 -0400
+++ b/src/hotspot/share/compiler/compileBroker.cpp	Thu May 09 18:38:42 2019 -0700
@@ -450,8 +450,8 @@
     save_hot_method = methodHandle(task->hot_method());
 
     remove(task);
-    purge_stale_tasks(); // may temporarily release MCQ lock
   }
+  purge_stale_tasks(); // may temporarily release MCQ lock
   return task;
 }