JDK-8265717 : Update Java Virtual Machine Guide about CDS support for ZGC
  • Type: Sub-task
  • Component: docs
  • Sub-Component: guides
  • Affected Version: 15,16,17
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2021-04-22
  • Updated: 2021-04-30
  • Resolved: 2021-04-30
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 15 JDK 16 JDK 17
15Fixed 16Fixed 17Fixed
Related Reports
Relates :  
Description
Since JDK-8232069 (JDK 15), CDS now supports ZGC. The following part of the Java Virtual Machine Guide needs to be updated

https://docs.oracle.com/en/java/javase/16/vm/class-data-sharing.html#GUID-EC975B2E-B4AB-45B4-B91F-51C3A264D0CE

The current text is:

"Class data sharing is supported with the G1, serial, parallel, and parallelOldGC garbage collectors. The shared Java heap object feature (part of class data sharing) supports only the G1 garbage collector on 64-bit non-Windows platforms."

ZGC should be added to the list. parallelOldGC should be removed since it's no longer supported since JDK 15.

Comments
JDK 16 and JDK 15 docs are updated and published. https://docs.oracle.com/en/java/javase/16/vm/class-data-sharing.html#GUID-EC975B2E-B4AB-45B4-B91F-51C3A264D0CE https://docs.oracle.com/en/java/javase/15/vm/class-data-sharing.html#GUID-EC975B2E-B4AB-45B4-B91F-51C3A264D0CE
30-04-2021

-XX:+UseParallelOldGC was removed in JDK 15 by JDK-8235860
26-04-2021