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

@ -941,10 +941,8 @@ void JVMCIRuntime::exit_on_pending_exception(JVMCIEnv* JVMCIENV, const char* mes
describe_pending_hotspot_exception(THREAD, true);
}
} else {
// Allow error reporting thread to print the stack trace. Windows
// doesn't allow uninterruptible wait for JavaThreads
const bool interruptible = true;
os::sleep(THREAD, 200, interruptible);
// Allow error reporting thread to print the stack trace.
os::sleep(THREAD, 200);
}
before_exit(THREAD);