RFR: 8370438: Offer link time optimization support on library level [v10]
Erik Joelsson
erikj at openjdk.org
Thu Nov 20 17:45:28 UTC 2025
On Fri, 7 Nov 2025 15:06:51 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:
>> We currently have support for LTO (link time optimization) for Hotspot/libjvm, that can be enabled as a JVM feature.
>> But for other JDK native libs, we do not have support for this feature.
>> LTO and sometimes lead to faster and also in some cases smaller binaries, so support for this might be interesting also for other libs and not only libjvm.
>
> Matthias Baesken has updated the pull request incrementally with one additional commit since the last revision:
>
> Add lto to EXTRA_FLAGS, not to OPT
Marked as reviewed by erikj (Reviewer).
-------------
PR Review: https://git.openjdk.org/jdk/pull/27976#pullrequestreview-3489112220
More information about the client-libs-dev
mailing list