On Wed, 29 Jan 2025 23:25:51 GMT, Magnus Ihse Bursie <i...@openjdk.org> wrote:
>As has been pointed out e.g. by Phil, not all libraries are performance >critical. With that said, maybe such libraries should be > optimized for size instead? (In many cases that also brings along a speed > performance, even if it by no means guaranteed.) Hi Magnus, that sounds like a good idea, especially for libraries that are a bit larger (if they are below 100K it does probably not make a big difference). Some candidates that have optimization LOW **and** are larger than 200K linuxx86_64 macosaarch64 windows-x86_64 BUILD_LIBAWT_XAWT 540K BUILD_LIBAWT_LWAWT 1.2M BUILD_LIBZIP 164K BUILD_LIBSPLASHSCREEN 364K 468K 204K BUILD_LIBJDWP 330K 312K 228K BUILD_LIBJAVAACCESSBRIDGE 280K BUILD_LIBJSVML is also rather large (~ 850K) but has no opt-level set for the lib make rule; not sure what that means, almost all other libs set a specific optimization level . ( Besides changing a couple of default opt-levels for some libs, I also would like to have better configure functionality to set it myself like we have for libjvm with the 'jvm-features' . ) ------------- PR Comment: https://git.openjdk.org/jdk/pull/23332#issuecomment-2624952613