8223537: testlibrary_tests/ctw/ClassesListTest.java fails with Agent timeout frequently
authorxliu
Thu, 09 May 2019 18:38:42 -0700
changeset 54801 ac8493c4a747
parent 54800 ad757676262c
child 54802 b0a1572ec64a
8223537: testlibrary_tests/ctw/ClassesListTest.java fails with Agent timeout frequently Reviewed-by: thartmann, kvn
src/hotspot/share/compiler/compileBroker.cpp
--- 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;
 }