There is a problem that disabling Lilliput effectively disables CDS. Upstream patch makes it better, we should backport it to 17u ahead of time.
https://github.com/openjdk/jdk/commit/69d469adf0e6dcec943929836e0a0620f63b46f0
Note that the intention for this block is to match the setting during the CDS dump at build time. In lilliput/jdk17u, UCOH = true by default, so the arguments adjustment block assumes CDS-with-UCOH archive is built, and CDS gets disabled when Lilliput is off.
https://github.com/openjdk/jdk/commit/69d469adf0e6dcec943929836e0a0620f63b46f0
Note that the intention for this block is to match the setting during the CDS dump at build time. In lilliput/jdk17u, UCOH = true by default, so the arguments adjustment block assumes CDS-with-UCOH archive is built, and CDS gets disabled when Lilliput is off.
- relates to
-
JDK-8301562 [Lilliput] Runtime flag to enable Lilliput
-
- Resolved
-