On Fri, 31 Jan 2025 13:59:45 GMT, Julian Waters <jwat...@openjdk.org> wrote:
> 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. The size optimization worked pretty well on most platforms , have to look still more into the compilation times of the this lib for a complete picture. No jtreg/jck failures seen. These are the sizes when comparing LOW to SIZE optimization Linux ppc64le 500K -> 376K Linux x86_64 364k -> 304 K macOS aarch64 468K -> 404K AIX 2.5M -> 2.1M The debuginfo files get smaller too by ~ 10 - 20 % (AIX has no separate debuginfo file that's why the large binary) However for MSVC the SIZE optimization flags seem to be bad , the binaries get *LARGER* not smaller ! I opened https://bugs.openjdk.org/browse/JDK-8349214 . ------------- PR Comment: https://git.openjdk.org/jdk/pull/23332#issuecomment-2630793171