RFR: 8303422: Use a common functions to exit the VM for -Xshare:dump and CDS errors
Matias Saavedra Silva
matsaave at openjdk.org
Thu Apr 13 15:34:49 UTC 2023
Currently, we have ad-hoc calls to os::_exit(0), vm_exit_during_initialization() and vm_direct_exit() in cases where there are dumptime or runtime errors for CDS. This patch introduces intuitively named methods for exiting the VM when there are dumptime/runtime errors and when dumping is finished. Verified with tier 1-4 tests.
-------------
Commit messages:
- 8303422: Use a common functions to exit the VM for -Xshare:dump and CDS errors
Changes: https://git.openjdk.org/jdk/pull/13463/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=13463&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8303422
Stats: 93 lines in 9 files changed: 34 ins; 28 del; 31 mod
Patch: https://git.openjdk.org/jdk/pull/13463.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/13463/head:pull/13463
PR: https://git.openjdk.org/jdk/pull/13463
More information about the hotspot-runtime-dev
mailing list