RFR: 8323576: [Windows] Fallthrough to ::abort instead of os::infinite_sleep for noreturn methods [v3]
Julian Waters
jwaters at openjdk.org
Wed Jan 24 07:38:27 UTC 2024
On Sun, 21 Jan 2024 07:15:49 GMT, Julian Waters <jwaters at openjdk.org> wrote:
>> os::infinite_sleep should only be used in very specific scenarios, and using it to satisfy compiler requirements for [[noreturn]] marked methods is a bad idea, since in the impossible case this will cause HotSpot to hang for a seemingly unknown reason. Fallthrough to ::abort instead, like other platforms do, to align Windows with them
>
> Julian Waters has updated the pull request incrementally with one additional commit since the last revision:
>
> Partially revery os_windows.cpp
Thanks David. Is Kim around to verify whether ShouldNotReachHere and friends call recursively into os::exit or os::abort?
-------------
PR Comment: https://git.openjdk.org/jdk/pull/17366#issuecomment-1907560269
More information about the hotspot-runtime-dev
mailing list