--- old/src/share/vm/gc/shared/workgroup.cpp 2016-06-07 11:06:19.778538253 -0700 +++ new/src/share/vm/gc/shared/workgroup.cpp 2016-06-07 11:06:19.650538257 -0700 @@ -276,6 +276,7 @@ "Trying to execute task %s with %u workers which is more than the amount of total workers %u.", task->name(), num_workers, total_workers()); guarantee(num_workers > 0, "Trying to execute task %s with zero workers", task->name()); + add_workers(num_workers, false); _dispatcher->coordinator_execute_on_workers(task, num_workers); }