> 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 ------------- Changes: - all: https://git.openjdk.org/jdk/pull/27976/files - new: https://git.openjdk.org/jdk/pull/27976/files/bea8d07a..bc591fdf Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=27976&range=09 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=27976&range=08-09 Stats: 15 lines in 1 file changed: 5 ins; 10 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
