JDK-8274789 : Support archived heap objects in ZGC
Type:Sub-task
Component:hotspot
Sub-Component:runtime
Affected Version:18
Priority:P4
Status:Closed
Resolution:Duplicate
Submitted:2021-10-05
Updated:2024-06-20
Resolved:2024-06-20
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.
We are putting this on hold:
- ZGC segregate objects by their sizes, but the current CDS archive heap implementation for G1/Serial/Parallel does not support such segregation, so it cannot be used directly on ZGC.
- We have a prototype of a completely GC-agnostic implementation (JDK-8310823) but
- It shows very small start-up benefit for ZGC
- It has performance degradation for the other GCs
- There has not been strong custom request for support CDS archive heap in ZGC
- In the Leyden project, we might consider other ways of loading pre-initialized heap into the JVM (instead of the current CDS approach)
19-10-2023
We should wait for generational ZGC to be completed first to avoid conflicts.