Integrated: 8263564: Consolidate POSIX code for runtime exit support: os::shutdown, os::abort and os::die
David Holmes
dholmes at openjdk.java.net
Mon Mar 15 02:06:07 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
This pull request has now been integrated.
Changeset: 554dd29f
Author: David Holmes <dholmes at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/554dd29f
Stats: 207 lines in 4 files changed: 55 ins; 152 del; 0 mod
8263564: Consolidate POSIX code for runtime exit support: os::shutdown, os::abort and os::die
Reviewed-by: mikael
-------------
PR: https://git.openjdk.java.net/jdk/pull/2998
More information about the hotspot-runtime-dev
mailing list