RFR: 8364352: Some tests fail when using a limited number of pregenerated .jsa CDS archives
Matthias Baesken
mbaesken at openjdk.org
Wed Aug 20 13:19:39 UTC 2025
On Wed, 20 Aug 2025 13:13:19 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:
>> 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. ??
>
> Afaik those are the 4 archives you find usually on Linux in the JVM image ; classes.jsa represents the compressed oops but no compressed object headers config .
>
> ./lib/server/classes_nocoops.jsa - no compressed oops
> ./lib/server/classes.jsa - compressed oops
> ./lib/server/classes_coh.jsa - compressed object headers, compressed oops
> ./lib/server/classes_nocoops_coh.jsa - compressed object headers, no compressed oops
Probably the requires vm.cds.default.archive.available is from times with less jsa files then we usually have today . We could of course introduce 4 requires for all the different jsa's we potentially have these days but I am not sure if it is really needed,
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/26820#discussion_r2288140399
More information about the hotspot-runtime-dev
mailing list