mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +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
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue