8230422: Convert uninterruptible os::sleep calls to os::naked_short_sleep

Reviewed-by: kbarrett, dcubed, shade
This commit is contained in:
David Holmes 2019-09-07 18:48:57 -04:00
parent f9e0cdbed9
commit 394d6ac55b
18 changed files with 90 additions and 104 deletions

View file

@ -939,7 +939,7 @@ void SafepointSynchronize::print_safepoint_timeout() {
break; // Could not send signal. Report fatal error.
}
// Give cur_thread a chance to report the error and terminate the VM.
os::sleep(Thread::current(), 3000, false);
os::naked_sleep(3000);
}
}
fatal("Safepoint sync time longer than " INTX_FORMAT "ms detected when executing %s.",