8323576: [Windows] Fallthrough to ::abort instead of os::infinite_sleep for noreturn methods

Reviewed-by: dholmes, kbarrett
This commit is contained in:
Julian Waters 2024-03-29 05:34:30 +00:00
parent bf93e77e72
commit df01cc528d
2 changed files with 2 additions and 2 deletions
src/hotspot/os/windows

@ -4257,7 +4257,7 @@ static void exit_process_or_thread(Ept what, int exit_code) {
} }
// Should not reach here // Should not reach here
os::infinite_sleep(); ::abort();
} }
#undef EXIT_TIMEOUT #undef EXIT_TIMEOUT

@ -71,5 +71,5 @@ void VMError::raise_fail_fast(void* exrecord, void* context) {
RaiseFailFastException(static_cast<PEXCEPTION_RECORD>(exrecord), RaiseFailFastException(static_cast<PEXCEPTION_RECORD>(exrecord),
static_cast<PCONTEXT>(context), static_cast<PCONTEXT>(context),
flags); flags);
os::infinite_sleep(); ::abort();
} }