RFR: 8304484: CDS dynamic dumping incorrectly leads to "Error occurred during initialization of VM"

Calvin Cheung ccheung at openjdk.org
Fri Jul 5 16:47:31 UTC 2024


On Wed, 3 Jul 2024 19:21:52 GMT, Matias Saavedra Silva <matsaave at openjdk.org> wrote:

> When a non-empty directory is found in the shared path table, the follow error is emitted:
>  ```
> Error occurred during initialization of VM
>  Cannot have non-empty directory in paths
> 
> 
> While this makes sense for static dumping, which occurs during initialization, it is not true for a dynamic dump. To remove confusion, path failures exit with `vm_exit_during_cds_dumping`. Verified with tier 1-5 tests.

LGTM

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

Marked as reviewed by ccheung (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/20014#pullrequestreview-2161023010


More information about the hotspot-runtime-dev mailing list