RFR: 8370438: Offer link time optimization support on library level
Matthias Baesken
mbaesken at openjdk.org
Tue Oct 28 14:41:13 UTC 2025
On Fri, 24 Oct 2025 12:58:15 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.
I want to remove the changes from` make/modules/java.desktop/lib/ClientLibraries.gmk` because this change is not about changing the settings for single libs, just for offering the LTO support to the lib developers/maintainers.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/27976#issuecomment-3456835343
More information about the client-libs-dev
mailing list