RFR: 8348830: LIBFONTMANAGER optimization is always HIGHEST
Matthias Baesken
mbaesken at openjdk.org
Fri Jan 31 12:19:54 UTC 2025
On Thu, 30 Jan 2025 19:47:55 GMT, Magnus Ihse Bursie <ihse at openjdk.org> wrote:
> I don't think there is much point in being able to vary the opt level; it is more about spending the time to find the most appropriate opt level, and once you've done that, you can update the makefile directly.
You want to optimize for binary size in some scenarios but not in all.
And when looking at binary size (maybe also performance in some special cases) lto is promising for some jdk libs but at least for now you don't want to enable it as a default.
Still, for some simple cases like e.g. BUILD_LIBSPLASHSCREEN changing the opt level from LOW to SIZE is probably the best thing to do after some more testing.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/23332#issuecomment-2627072670
More information about the build-dev
mailing list