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 12:58:55 GMT, David Holmes <dholmes at openjdk.org> wrote:

>> 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. ??

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

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

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


More information about the hotspot-runtime-dev mailing list