However, --enable-compatible-cds-alignment is disabled by default. People who create a JDK may not be aware of this option. As a result, CDS may become unintentionally disabled.
Since the overhead of --enable-compatible-cds-alignment is small (CDS archive file size increases for ~64KB for linux/aarch64, 16KB for macos/x64, zero elsewhere), it should be enabled by default.
- duplicates
-
JDK-8331942 On Linux aarch64, CDS archives should be using 64K alignment by default
- Resolved
- relates to
-
JDK-8236847 CDS archive with 4K alignment unusable on machines with 64k pages
- Resolved
- links to
-
Review openjdk/jdk/19150