changeset 8995:556282e43cc1

8223537: testlibrary_tests/ctw/ClassesListTest.java fails with Agent timeout frequently Reviewed-by: thartmann, kvn
author xliu
date Thu, 09 May 2019 18:38:42 -0700
parents 61d955db2a5b
children d0e9ea95f04b
files src/share/vm/compiler/compileBroker.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/compiler/compileBroker.cpp	Wed Jun 05 03:07:31 2019 +0100
+++ b/src/share/vm/compiler/compileBroker.cpp	Thu May 09 18:38:42 2019 -0700
@@ -753,8 +753,8 @@
   }
   if (task != NULL) {
     remove(task);
-    purge_stale_tasks(); // may temporarily release MCQ lock
   }
+  purge_stale_tasks(); // may temporarily release MCQ lock
   return task;
 }