RFR: 8274136: -XX:+ExitOnOutOfMemoryError calls exit while threads are running

Harold Seigel hseigel at openjdk.java.net
Fri Sep 24 12:18:51 UTC 2021


On Thu, 23 Sep 2021 23:15:28 GMT, David Holmes <dholmes at openjdk.org> wrote:

> Please see bug report for more detailed discussion.
> 
> We introduce `os::_exit()` to `call _exit()` to allow us to terminate without running the at_exit handlers and global destructors, which lead to the crashes during termination.
> 
> Testing: tiers 1-3 (includes the ExitOnOutOfMemoryError test)
> 
> Thanks,
> David

The changes look good.  Thanks for fixing it.
Harold

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

Marked as reviewed by hseigel (Reviewer).

PR: https://git.openjdk.java.net/jdk/pull/5668


More information about the hotspot-dev mailing list