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

Roman Kennke rkennke at openjdk.org
Mon Oct 16 16:53:06 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

Roman Kennke has updated the pull request incrementally with one additional commit since the last revision:

  Unlock experimental VM options

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

Changes:
  - all: https://git.openjdk.org/lilliput-jdk17u/pull/60/files
  - new: https://git.openjdk.org/lilliput-jdk17u/pull/60/files/baa24438..712602ea

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=lilliput-jdk17u&pr=60&range=01
 - incr: https://webrevs.openjdk.org/?repo=lilliput-jdk17u&pr=60&range=00-01

  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