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:40 UTC 2025


On Wed, 20 Aug 2025 13:15:13 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:

>> 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,

btw could we have in other JVMs then server  (client? minimal?)  even MORE of those jsa files? I am getting confused too.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/26820#discussion_r2288145032


More information about the hotspot-runtime-dev mailing list