RFR: 8370438: Offer link time optimization support on library level
Matthias Baesken
mbaesken at openjdk.org
Tue Oct 28 14:41:11 UTC 2025
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.
-------------
Commit messages:
- Suggestions erikj
- JDK-8370438
Changes: https://git.openjdk.org/jdk/pull/27976/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=27976&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8370438
Stats: 39 lines in 6 files changed: 39 ins; 0 del; 0 mod
Patch: https://git.openjdk.org/jdk/pull/27976.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/27976/head:pull/27976
PR: https://git.openjdk.org/jdk/pull/27976
More information about the client-libs-dev
mailing list