RFR: 8323576: [Windows] Fallthrough to ::abort instead of os::infinite_sleep for noreturn methods [v3]
David Holmes
dholmes at openjdk.org
Tue Jan 23 01:18: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
Looks good.
-------------
Marked as reviewed by dholmes (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/17366#pullrequestreview-1837700105
More information about the hotspot-runtime-dev
mailing list