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

Erik Joelsson erikj at openjdk.org
Fri Oct 10 16:37:43 UTC 2025


On Fri, 10 Oct 2025 14:43:01 GMT, Matthias Baesken <mbaesken 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.

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

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


More information about the build-dev mailing list