RFR: 8370438: Offer link time optimization support on library level [v2]

Matthias Baesken mbaesken at openjdk.org
Wed Oct 29 14:41:25 UTC 2025


On Wed, 29 Oct 2025 14:32:04 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:

> Have you noticed any impact on build performance when enabling this on any JDK libs? 

I see not much difference when looking at the build times of our builds with and without this patch. But this is the time for a whole scratch-build , not for single libs.  For single libs with LTO enabled the time might be slower, but because this is just a small part of the (parallel) whole JDK build, it does not matter so much.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/27976#issuecomment-3461931477


More information about the client-libs-dev mailing list