On Tue, 11 Feb 2025 19:01:44 GMT, Chris Plummer <cjplum...@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

Reply via email to