8268779: ZGC: runtime/InternalApi/ThreadCpuTimesDeadlock.java#id1 failed with "OutOfMemoryError: Java heap space"

Reviewed-by: eosterlund, stefank
This commit is contained in:
Per Liden 2021-11-04 13:47:59 +00:00
parent 19075b3f6b
commit a6fa6ed1ed

View File

@ -493,6 +493,11 @@ void ZDriver::run_service() {
// Run GC
gc(request);
if (should_terminate()) {
// Abort
break;
}
// Notify GC completed
_gc_cycle_port.ack();