RFR: 8369305: Adjust usage of CDS in the boot JDK [v2]

Matthias Baesken mbaesken at openjdk.org
Mon Oct 13 07:09:43 UTC 2025


On Fri, 10 Oct 2025 16:35:29 GMT, Erik Joelsson <erikj at openjdk.org> wrote:

> > Should we remove this too ?
> > ```
> > autoconf/bootcycle-spec.gmk.template-47-# Any CDS settings generated for the bootjdk are invalid in the bootcycle build.
> > autoconf/bootcycle-spec.gmk.template-48-# By filtering out those JVM args, the bootcycle JVM will use its default
> > autoconf/bootcycle-spec.gmk.template-49-# settings for CDS.
> > autoconf/bootcycle-spec.gmk.template:50:JAVA_FLAGS := $(filter-out -XX:SharedArchiveFile% -Xshare%, $(JAVA_FLAGS))
> > ```
> 
> Yes.

Done!

-------------

PR Comment: https://git.openjdk.org/jdk/pull/27741#issuecomment-3396125860


More information about the build-dev mailing list