fdk-java
fdk-java copied to clipboard
CDS improvements
- By default, the CDS shared archive is installed with the JRE (1). Despite that, we are regenerating this CDS archive with
RUN ["/usr/bin/java", "-Xshare:dump"]. So and unless I'm missing something, this is not needed. - According to the doc (2), CDS is enabled by default on Java 11 so there's no need to enable it with
-Xshare:on.
(1) https://docs.oracle.com/en/java/javase/11/vm/class-data-sharing.html#GUID-EC975B2E-B4AB-45B4-B91F-51C3A264D0CE
(2) https://docs.oracle.com/en/java/javase/11/vm/class-data-sharing.html#GUID-882DC523-706D-403E-8A06-FBBB0E1B2128
Do not merge yet!