RFR: 8349378: Build splashscreen lib with SIZE optimization
Matthias Baesken
mbaesken at openjdk.org
Fri Dec 5 07:50:30 UTC 2025
On Fri, 5 Dec 2025 00:04:18 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:
> > We do not support changing optimization levels through configure or make arguments. You need to edit makefiles for each individual library.
>
> Are there any blockers to setting a global default that would override the optimization level for all libraries(if set)? For example, making everything build with “size optimized” flags by default. This could be useful when producing different bundles optimized for different use cases, while still using the same source code.
For libjvm we have the 'jvm feature' `opt-size` (probably you know about it?) ; I think we should have something similar for the other native libs too. But afaik it is not (yet) supported with an easy configure flag.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/23493#issuecomment-3615674228
More information about the client-libs-dev
mailing list