On Thu, 27 Mar 2025 12:49:10 GMT, Matthias Baesken <mbaes...@openjdk.org> wrote:
> I did some builds today with gcc14.2.0 on Linux x86_64 . They looked good > with and without LTO . Without lto / normal opt build du -sh > images/jdk/lib/server/libjvm.so 27M images/jdk/lib/server/libjvm.so > > WITH lto du -sh images/jdk/lib/server/libjvm.so 24M > images/jdk/lib/server/libjvm.so > > So even the code size reduction is visible. So gcc14 seems to work for me > (but so far I only used it on Linux x86_64, can't tell about aarch64/ppc64le). Great, so it's yet another case of "Compiler works on one platform and royally ***** up on another" again. Sigh. I just love it when that happens. Thanks for the report on the gcc 14 Linux JVM sizes though, at least I can narrow it down with your help. I'll have to think of a way to fix this going forward ------------- PR Comment: https://git.openjdk.org/jdk/pull/22464#issuecomment-2758178119