mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-17 17:44:40 +02:00
8230422: Convert uninterruptible os::sleep calls to os::naked_short_sleep
Reviewed-by: kbarrett, dcubed, shade
This commit is contained in:
parent
f9e0cdbed9
commit
394d6ac55b
18 changed files with 90 additions and 104 deletions
|
@ -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.",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue