[lilliput-jdk17u:lilliput] RFR: 8318172: [Lilliput/JDK17] Disable Lilliput in TestZGCWithCDS

Roman Kennke rkennke at openjdk.org
Mon Oct 16 16:47:44 UTC 2023


Lilliput is not supported by ZGC, and when running with both -XX:+UseZGC and -XX:+UseCompactObjectHeaders, the latter is disabled with a warning. Unfortunately, this breaks the test TestZGCWithCDS, because it would generate a CDS archive with SerialGC - with -XX:+UseCompactObjectHeaders - and then attempts to load it with ZGC -which disables UseCompactObjectHeaders, which makes CDS archives incompatible.

Testing:
 - [x] runtime/cds/appcds/TestZGCWithCDS.java +UCOH
 - [x] runtime/cds/appcds/TestZGCWithCDS.java -UCOH
 - [x] runtime/cds/appcds/TestZGCWithCDS.java default

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

Commit messages:
 - 8318172: [Lilliput/JDK17] Disable Lilliput in TestZGCWithCDS

Changes: https://git.openjdk.org/lilliput-jdk17u/pull/60/files
 Webrev: https://webrevs.openjdk.org/?repo=lilliput-jdk17u&pr=60&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8318172
  Stats: 9 lines in 1 file changed: 9 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/lilliput-jdk17u/pull/60.diff
  Fetch: git fetch https://git.openjdk.org/lilliput-jdk17u.git pull/60/head:pull/60

PR: https://git.openjdk.org/lilliput-jdk17u/pull/60


More information about the lilliput-dev mailing list