fdk-java icon indicating copy to clipboard operation
fdk-java copied to clipboard

CDS improvements

Open delabassee opened this issue 6 years ago • 1 comments

  1. 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.
  2. 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

delabassee avatar Feb 06 '19 07:02 delabassee

Do not merge yet!

delabassee avatar Feb 07 '19 17:02 delabassee