RFR: 8302798: Refactor -XX:+UseOSErrorReporting for noreturn crash reporting

David Holmes dholmes at openjdk.org
Tue Feb 21 08:23:28 UTC 2023


On Tue, 21 Feb 2023 05:13:27 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

>> src/hotspot/share/utilities/vmError.cpp line 1368:
>> 
>>> 1366:                             filename, lineno, size);
>>> 1367:   // Shouldn't be able to get here.  Die immediately if we do.
>>> 1368:   os::die();
>> 
>> Should we try to report this somehow?
>
> I don't really see how, without being significantly at risk of recursive errors.

tty->print_cr or even UL if possible?

-------------

PR: https://git.openjdk.org/jdk/pull/12651


More information about the hotspot-dev mailing list