RFR: 8364352: Some tests fail when using a limited number of pregenerated .jsa CDS archives [v3]

Matthias Baesken mbaesken at openjdk.org
Mon Sep 1 06:59:22 UTC 2025


> Currently the default JVM comes on most platforms with 4 jsa files (for coops and nocoops; with and without compressed object headers), but for some shipments the number of jsa could be reduced (see also Images.gmk) .
> But not all tests can deal with this.
> Namely
> 
> test/hotspot/jtreg/runtime/CompressedOops/CompressedCPUSpecificClassSpaceReservation.java
> test/hotspot/jtreg/runtime/cds/TestDefaultArchiveLoading.java
> test/hotspot/jtreg/runtime/cds/appcds/loaderConstraints/DynamicLoaderConstraintsTest.java (custom-cl-zgc)
> 
> were found to have issues.
> There is already a requires  `vm.cds.default.archive.available`   that is used in similar tests and can be used in some of those cases too.

Matthias Baesken has updated the pull request incrementally with one additional commit since the last revision:

  Update test/hotspot/jtreg/runtime/cds/TestDefaultArchiveLoading.java
  
  Co-authored-by: David Holmes <62092539+dholmes-ora at users.noreply.github.com>

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/26820/files
  - new: https://git.openjdk.org/jdk/pull/26820/files/567b8148..ac505301

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=26820&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=26820&range=01-02

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/26820.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/26820/head:pull/26820

PR: https://git.openjdk.org/jdk/pull/26820


More information about the hotspot-runtime-dev mailing list