RFR: 8370438: Offer link time optimization support on library level [v2]
Matthias Baesken
mbaesken at openjdk.org
Mon Nov 3 15:28:10 UTC 2025
On Thu, 30 Oct 2025 15:41:06 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:
> For those libs where we set LTO = true, we can add a global on/off configure arg to enable this. This way, we do not cause issues for distributors because still the configure flag must be set
For Hotspot / libjvm we have currently `--enable-jvm-feature-link-time-opt` ; maybe we should introduce something similar named for the JDK libs where we choose lto?
-------------
PR Comment: https://git.openjdk.org/jdk/pull/27976#issuecomment-3481107407
More information about the build-dev
mailing list