RFR: 8364352: Some tests fail when using a limited number of pregenerated .jsa CDS archives
Thomas Stuefe
stuefe at openjdk.org
Tue Aug 26 06:14:39 UTC 2025
On Tue, 26 Aug 2025 05:39:58 GMT, David Holmes <dholmes at openjdk.org> wrote:
>> we run into this error without the jsa in the zgc case
>> runtime/cds/appcds/loaderConstraints/DynamicLoaderConstraintsTest.java#custom-cl-zgc
>>
>>
>> [0.002s][error][cds] Specified shared archive file not found (/jtreg_hotspot_tier2_work/JTwork/scratch/2/appcds-06h49m10s700.jsa)
>> [0.002s][error][cds] Not a valid shared archive file (/jtreg_hotspot_tier2_work/JTwork/scratch/2/appcds-06h49m10s700.jsa)
>> [0.002s][error][cds] CDS is incompatible with other specified options.
>> Error occurred during initialization of VM
>> Unable to use shared archive: invalid archive
>
> But that is not a default archive. ???
The error is strange
[0.002s][error][cds] Specified shared archive file not found (/jtreg_hotspot_tier2_work/JTwork/scratch/2/appcds-06h49m10s700.jsa)
This is not the default archive file it cannot find. This is the generated one, no?
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/26820#discussion_r2299886791
More information about the hotspot-runtime-dev
mailing list