RFR: 8302798: Refactor -XX:+UseOSErrorReporting for noreturn crash reporting
David Holmes
dholmes at openjdk.org
Wed Feb 22 05:20:28 UTC 2023
On Tue, 21 Feb 2023 19:35:46 GMT, Kim Barrett <kbarrett at openjdk.org> wrote:
> > > What they used to do when the option is true was return and execute the BREAKPOINT immmediately following the call.
> >
> >
> > Sorry I'm having trouble finding that existing BREAKPOINT
>
> It's in the various assertion macros in debug.hpp
Ah! Got it. Thanks. Ignoring misplaced guarantees, we can only hit those if UOER is true and `report_and_die` returns; so instead don't return and place the breakpoint in `report_and_die` instead.
-------------
PR: https://git.openjdk.org/jdk/pull/12651
More information about the hotspot-dev
mailing list