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

Roman Kennke rkennke at openjdk.org
Tue Oct 31 14:10:14 UTC 2023


On Mon, 16 Oct 2023 16:40:00 GMT, Roman Kennke <rkennke at openjdk.org> wrote:

> 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

This pull request has now been integrated.

Changeset: 1e3f0fc5
Author:    Roman Kennke <rkennke at openjdk.org>
URL:       https://git.openjdk.org/lilliput-jdk17u/commit/1e3f0fc5eac8854a0b7931500f9b8d5d98b16efa
Stats:     18 lines in 1 file changed: 18 ins; 0 del; 0 mod

8318172: [Lilliput/JDK17] Disable Lilliput in TestZGCWithCDS

Reviewed-by: shade

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

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


More information about the lilliput-dev mailing list