RFR: 8349638: Build libjdwp with SIZE optimization
Matthias Baesken
mbaesken at openjdk.org
Wed Feb 12 07:34:10 UTC 2025
On Tue, 11 Feb 2025 19:01:44 GMT, Chris Plummer <cjplummer at openjdk.org> wrote:
> I'm not too familiar with optimization choices in the build system, but it seems libjdwp should be built optimized in the same manner as libjvm.
LIBJVM is built with optimization level HIGHEST_JVM (seems this is -O3 with gcc/clang) by default , but there are configure-options to switch, if desired, to SIZE or to lto-optimization for libjvm
https://github.com/openjdk/jdk/blob/adda12b724ec5fb890ef18ae21f0b5985ececfea/make/hotspot/lib/CompileJvm.gmk#L141
LIBJDWP is currently built with optimization level LOW.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/23563#issuecomment-2652867797
More information about the build-dev
mailing list