RFC: JEP: CDS Archived Object Streaming

ioi.lam at oracle.com ioi.lam at oracle.com
Thu Mar 21 22:51:22 UTC 2024


Hi Erik,

Thanks for posting the draft JEP.

I am in support of this change, as it

- enables CDS archived heap for ZGC (and possibly other collectors that 
do not support the CDS archived heap today)

- gives us the ability to evaluate the existing mmap approach vs the new 
streaming approach.

As mentioned in the JEP, a full evaluation may look at different areas 
such as scalability and maintainability. In Project Leyden [1], we are 
likely to expand the use of archived heap objects. I think development 
in Leyden will guide us in further developing these two approaches. We 
may eventually come to a conclusion to have a single approach (either by 
picking one of them, or by combining the aspects of the two approaches 
in some way).

There are a lot of unknowns going forward, but I think this is a very 
exciting start.

Again, thank you Erik for moving this forward.

- Ioi

[1] https://openjdk.org/projects/leyden/


On 3/20/24 2:35 AM, Erik Osterlund wrote:
> Hi,
>
> I have written a draft JEP for a new GC agnostic CDS object archiving 
> mechanism that we intend to use at least in ZGC.
> JEP description is available here: 
> https://bugs.openjdk.org/browse/JDK-8326035
>
> Comments and feedback are welcome.
>
> Thanks,
> /Erik
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/hotspot-dev/attachments/20240321/21cd38f6/attachment.htm>


More information about the hotspot-dev mailing list