8204857: ConcurrentHashTable: Fix parallel processing

Reviewed-by: coleenp, gziemski
This commit is contained in:
Robbin Ehn 2018-06-18 16:13:21 +02:00
parent effacccf36
commit 5eb354a014
5 changed files with 93 additions and 16 deletions

View file

@ -456,7 +456,7 @@ void StringTable::grow(JavaThread* jt) {
log_trace(stringtable)("Started to grow");
{
TraceTime timer("Grow", TRACETIME_LOG(Debug, stringtable, perf));
while (gt.doTask(jt)) {
while (gt.do_task(jt)) {
gt.pause(jt);
{
ThreadBlockInVM tbivm(jt);
@ -502,7 +502,7 @@ void StringTable::clean_dead_entries(JavaThread* jt) {
bool interrupted = false;
{
TraceTime timer("Clean", TRACETIME_LOG(Debug, stringtable, perf));
while(bdt.doTask(jt, stdc, stdd)) {
while(bdt.do_task(jt, stdc, stdd)) {
bdt.pause(jt);
{
ThreadBlockInVM tbivm(jt);