RFR: 8263564: Consolidate POSIX code for runtime exit support: os::shutdown, os::abort and os::die

Mikael Vidstedt mikael at openjdk.java.net
Mon Mar 15 01:58:06 UTC 2021


On Sun, 14 Mar 2021 22:54:53 GMT, David Holmes <dholmes at openjdk.org> wrote:

> A trivial refactoring with zero functional changes.
> 
> The runtime exit code (os::shutdown, os::abort and os::die) on POSIX platforms is almost identical - Linux has one extra action in os::abort. This code should be shared via os_posix.cpp (note os::exit is already shared via os_posix.inline.hpp). 
> 
> Testing: 
>   - GHA
>   - Tiers 1-3
> 
> Thanks,
> David

Marked as reviewed by mikael (Reviewer).

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

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


More information about the hotspot-runtime-dev mailing list