RFR: 8369305: Adjust usage of CDS in the boot JDK [v2]
Matthias Baesken
mbaesken at openjdk.org
Fri Oct 10 14:45:37 UTC 2025
On Fri, 10 Oct 2025 14:42:48 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:
>> Currently we dump an archive in the configure process, this might not be needed/beneficial any more.
>>
>> Building with and without the change on Linux x86_64 (product) shows similar build times.
>
> Matthias Baesken has updated the pull request incrementally with one additional commit since the last revision:
>
> Remove -Xshare settings
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))
-------------
PR Comment: https://git.openjdk.org/jdk/pull/27741#issuecomment-3390546972
More information about the build-dev
mailing list