Integrated: 8303422: Use common functions to exit the VM for -Xshare:dump and CDS errors

Matias Saavedra Silva matsaave at openjdk.org
Mon Apr 17 21:41:55 UTC 2023


On Thu, 13 Apr 2023 15:19:03 GMT, Matias Saavedra Silva <matsaave at openjdk.org> wrote:

> 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.

This pull request has now been integrated.

Changeset: e3ece365
Author:    Matias Saavedra Silva <matsaave at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/e3ece365ce7dc92dd9d0a7ad9eb53ed9ea87f48d
Stats:     110 lines in 9 files changed: 44 ins; 28 del; 38 mod

8303422: Use common functions to exit the VM for -Xshare:dump and CDS errors

Reviewed-by: iklam, coleenp, fparain

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

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


More information about the hotspot-runtime-dev mailing list