8230423: Move os::sleep to JavaThread::sleep

Reviewed-by: rehn, dcubed
This commit is contained in:
David Holmes 2019-09-11 22:09:05 -04:00
parent 091cf3608b
commit 99252bd9d6
14 changed files with 84 additions and 79 deletions

View file

@ -942,7 +942,7 @@ void JVMCIRuntime::exit_on_pending_exception(JVMCIEnv* JVMCIENV, const char* mes
}
} else {
// Allow error reporting thread to print the stack trace.
os::sleep(THREAD, 200);
THREAD->sleep(200);
}
before_exit(THREAD);