--- 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);