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

Matias Saavedra Silva matsaave at openjdk.org
Mon Jul 8 14:07:37 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.

This pull request has now been integrated.

Changeset: be3676f6
Author:    Matias Saavedra Silva <matsaave at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/be3676f6bbc2d8041e43cf7bcfaee7fb9d864378
Stats:     1 line in 1 file changed: 0 ins; 0 del; 1 mod

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

Reviewed-by: ccheung, iklam

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

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


More information about the hotspot-runtime-dev mailing list