How do I reliably prevent CDS archive generation during builds?

Thomas Stüfe thomas.stuefe at gmail.com
Tue May 7 04:08:00 UTC 2024


Hi Julian,

Yes, that confused me too. See here:
https://github.com/openjdk/jdk/blob/f308e107ce8b993641ee3d0a0d5d52bf5cd3b94e/make/GenerateLinkOptData.gmk#L76

Cheers, Thomas

On Tue, May 7, 2024 at 2:58 AM Julian Waters <tanksherman27 at gmail.com>
wrote:

> Hi Thomas,
>
> --disable-jvm-feature-link-time-opt is for disabling Link Time
> Optimization when compiling the JVM itself, as in, requesting LTO from
> the linker that is linking the JVM. It doesn't have anything to do
> with what arguments the newly compiled JVM is called with and isn't
> related to the link optimization pass of the Java classfiles (I am not
> very familiar with that process), and it is also off by default for
> most platforms
>
> best regards,
> Julian
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/build-dev/attachments/20240507/7bfbf4ae/attachment.htm>


More information about the build-dev mailing list