On Wed, 22 Oct 2025 14:06:54 GMT, Matthias Baesken <[email protected]> wrote:
> > So should we still offer LTO for more libs as an option to enable for the > > lib, even with the mentioned issues? > > Provide an option for library owners to opt-in, which can be enabled > per-library, per-platform and per-compiler after appropriate testing for > performance, functionality, and footprint. So it will be possible to mix > size/perf and lto optimizations. Then later we can decide what to use by > default. I created a draft PR https://github.com/openjdk/jdk/pull/27976 to support enabling LTO on library level. (and for testing enabled it for 2 libs) ------------- PR Comment: https://git.openjdk.org/jdk/pull/22464#issuecomment-3443050728
