RFR: 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:36 UTC 2024


On Fri, 5 Jul 2024 16:45:05 GMT, Calvin Cheung <ccheung 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

Thanks for the reviews @calvinccheung and @iklam

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

PR Comment: https://git.openjdk.org/jdk/pull/20014#issuecomment-2214169434


More information about the hotspot-runtime-dev mailing list