Integrated: 8274136: -XX:+ExitOnOutOfMemoryError calls exit while threads are running
David Holmes
dholmes at openjdk.java.net
Tue Sep 28 23:29:45 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
This pull request has now been integrated.
Changeset: 2657bcbd
Author: David Holmes <dholmes at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/2657bcbd9965d8af83f4063e3602c409735493d1
Stats: 16 lines in 4 files changed: 12 ins; 0 del; 4 mod
8274136: -XX:+ExitOnOutOfMemoryError calls exit while threads are running
Reviewed-by: stuefe, hseigel
-------------
PR: https://git.openjdk.java.net/jdk/pull/5668
More information about the hotspot-dev
mailing list