RFR: 8349638: Build libjdwp with SIZE optimization

Matthias Baesken mbaesken at openjdk.org
Thu Apr 10 07:15:30 UTC 2025


On Wed, 9 Apr 2025 20:26:13 GMT, Chris Plummer <cjplummer at openjdk.org> wrote:

> > Making hotspot `-Os` would certainly never make any sense, for example.)
> 
> When the minimalVM was first created, there was a quite of bit of benchmarking done to decide which hotspot files to build with -Os and which to build with -O3. I'm not sure if this split survived the new build system, but for those wanting a truly minimal footprint with reasonable performance sacrifices, it still makes sense to build all or most of hotspot with -Os.

The list  to decide which hotspot files to build with -Os and which to build with -O3 (OPT_SPEED_SRC ) is still present , see https://github.com/openjdk/jdk/blob/master/make/hotspot/lib/JvmFeatures.gmk#L197 . Probably the list is a bit outdated.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/23563#issuecomment-2791779866


More information about the build-dev mailing list