[lilliput-jdk17u:lilliput] RFR: 8309192: [Lilliput/JDK17] Disable Lilliput by default, and turn off CDS when Lilliput is enabled
Aleksey Shipilev
shade at openjdk.org
Wed May 31 15:08:26 UTC 2023
On Wed, 31 May 2023 11:10:03 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:
> See the discussion in the bug.
>
> There is a problem that disabling Lilliput effectively disables CDS. I think for 17u we should disable UCOH by default, and disable CDS when UCOH is on. That is, keep the legacy configuration untouched, and let Lilliput pay the price, if any.
>
> Additional testing:
> - [x] macos-aarch64-server-fastdebug, `runtime/cds`
> The upstream PR has a better fix that eliminated the flag mess and makes CDS more resilient: [openjdk/jdk at 69d469a](https://github.com/openjdk/jdk/commit/69d469adf0e6dcec943929836e0a0620f63b46f0)
Does it change the format of CDS archive? I.e. if we generate the CDS archive with Lilliput-enabled JDK (even when Lilliput is off), would that archive be properly readable with non-Lilliput JDK from the same release version? That is my concern about porting that fix into JDK 17 version.
-------------
PR Comment: https://git.openjdk.org/lilliput-jdk17u/pull/29#issuecomment-1570415027
More information about the lilliput-dev
mailing list