8323576: [Windows] Fallthrough to ::abort instead of os::infinite_sleep for noreturn methods
Reviewed-by: dholmes, kbarrett
This commit is contained in:
parent
bf93e77e72
commit
df01cc528d
@ -4257,7 +4257,7 @@ static void exit_process_or_thread(Ept what, int exit_code) {
|
||||
}
|
||||
|
||||
// Should not reach here
|
||||
os::infinite_sleep();
|
||||
::abort();
|
||||
}
|
||||
|
||||
#undef EXIT_TIMEOUT
|
||||
|
@ -71,5 +71,5 @@ void VMError::raise_fail_fast(void* exrecord, void* context) {
|
||||
RaiseFailFastException(static_cast<PEXCEPTION_RECORD>(exrecord),
|
||||
static_cast<PCONTEXT>(context),
|
||||
flags);
|
||||
os::infinite_sleep();
|
||||
::abort();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user