RFR: 8365932: Implementation of JEP 516: Ahead-of-Time Object Caching with Any GC [v7]
Erik Österlund
eosterlund at openjdk.org
Thu Oct 23 19:15:29 UTC 2025
On Thu, 23 Oct 2025 16:06:11 GMT, Ioi Lam <iklam at openjdk.org> wrote:
> > > Given that we know have support for CDS from all GCs is it time to replace all `INCLUDE_CDS_JAVA_HEAP` with just `INCLUDE_CDS`?
>
> >
>
> > I think we could do that indeed. However, I would like that to be a follow-up cleanup, to avoid cluttering more files in this PR.
>
>
>
> We have
>
>
>
> ```
>
> #if INCLUDE_CDS && INCLUDE_G1GC && defined(_LP64)
>
> #define INCLUDE_CDS_JAVA_HEAP 1
>
> ```
>
>
>
> So we need to make sure it works for 32 bit as well.
Does 32 bit really need CDS at all? Zero surely doesn't; it's 100x slower. Left we have 32 bit ARM which is seemingly on life support. But yeah either way - not a decision for this PR.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/27732#issuecomment-3438689367
More information about the hotspot-dev
mailing list