RFR: 8364352: Some tests fail when using a limited number of pregenerated .jsa CDS archives
David Holmes
dholmes at openjdk.org
Wed Aug 20 13:01:55 UTC 2025
On Wed, 20 Aug 2025 07:15:23 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:
>> test/hotspot/jtreg/runtime/CompressedOops/CompressedCPUSpecificClassSpaceReservation.java line 31:
>>
>>> 29: * @requires vm.flagless
>>> 30: * @requires vm.cds
>>> 31: * @requires vm.cds.default.archive.available
>>
>> Does the notion of "default.archive" change depending on whether the VM is executing in COOPs/NoCOOPS or COH/NoCOH modes?
>
> That's the coding
>
> https://github.com/openjdk/jdk/blob/320235ccb88b4b554cd5756b7e6a34ce97aabd53/test/jtreg-ext/requires/VMProps.java#L438
>
> So it ALWAYS looks at classes,jsa .
Okay ... so what configuration does classes.jsa represent? I'm struggling to understand exactly which archive these tests need, or whether they should be able to work with any of the 4 variants. ??
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/26820#discussion_r2288086642
More information about the hotspot-runtime-dev
mailing list