> 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: Simplify lto flag assignment for hs in JvmFeatures.gmk ------------- Changes: - all: https://git.openjdk.org/jdk/pull/27976/files - new: https://git.openjdk.org/jdk/pull/27976/files/e68bc711..a5e266e0 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=27976&range=07 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=27976&range=06-07 Stats: 10 lines in 1 file changed: 2 ins; 6 del; 2 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
