Withdrawn: 8369442: ExitOnOutOfMemoryError should exit more gracefully

duke duke at openjdk.org
Tue Dec 9 01:18:10 UTC 2025


On Thu, 9 Oct 2025 08:35:50 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

> See RFE for more discussion. It seems we have a leeway in defining what "exit" means for `-XX:+ExitOnOutOfMemoryError`, and this PR does it more akin to `JVM_Halt`, rather than abrupt `os::_exit`. This gives VM a chance to shutdown some of its subsystems gracefully.
> 
> Comments welcome!
> 
> Additional testing:
>  - [x] Linux x86_64 server fastdebug, `tier1`
>  - [ ] Linux x86_64 server fastdebug, `all`

This pull request has been closed without being integrated.

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

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


More information about the hotspot-dev mailing list