Integrated: 8323576: [Windows] Fallthrough to ::abort instead of os::infinite_sleep for noreturn methods
Julian Waters
jwaters at openjdk.org
Fri Mar 29 05:37:35 UTC 2024
On Thu, 11 Jan 2024 08:31:21 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
This pull request has now been integrated.
Changeset: df01cc52
Author: Julian Waters <jwaters at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/df01cc528d3b6e52925b92119e43caee54ec86e8
Stats: 2 lines in 2 files changed: 0 ins; 0 del; 2 mod
8323576: [Windows] Fallthrough to ::abort instead of os::infinite_sleep for noreturn methods
Reviewed-by: dholmes, kbarrett
-------------
PR: https://git.openjdk.org/jdk/pull/17366
More information about the hotspot-runtime-dev
mailing list