src/hotspot/share/classfile/stringTable.cpp
changeset 50815 54a285a5c6cb
parent 50608 1609a43e77ae
child 50951 b96466cdfc45
--- a/src/hotspot/share/classfile/stringTable.cpp	Wed Jun 27 11:54:15 2018 +0200
+++ b/src/hotspot/share/classfile/stringTable.cpp	Wed Jun 27 12:46:15 2018 +0200
@@ -499,7 +499,6 @@
 
   StringTableDeleteCheck stdc;
   StringTableDoDelete stdd;
-  bool interrupted = false;
   {
     TraceTime timer("Clean", TRACETIME_LOG(Debug, stringtable, perf));
     while(bdt.do_task(jt, stdc, stdd)) {
@@ -507,15 +506,8 @@
       {
         ThreadBlockInVM tbivm(jt);
       }
-      if (!bdt.cont(jt)) {
-        interrupted = true;
-        break;
-      }
+      bdt.cont(jt);
     }
-  }
-  if (interrupted) {
-    _has_work = true;
-  } else {
     bdt.done(jt);
   }
   log_debug(stringtable)("Cleaned %ld of %ld", stdc._count, stdc._item);