diff -r d99af76d7689 -r d8902e9c307c src/hotspot/share/runtime/safepoint.cpp --- a/src/hotspot/share/runtime/safepoint.cpp Sat Sep 07 10:05:47 2019 -0700 +++ b/src/hotspot/share/runtime/safepoint.cpp Sat Sep 07 18:48:57 2019 -0400 @@ -939,7 +939,7 @@ 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.",