RFR: 8349638: Build libjdwp with SIZE optimization

Matthias Baesken mbaesken at openjdk.org
Fri Feb 21 07:53:53 UTC 2025


On Thu, 20 Feb 2025 21:39:17 GMT, Chris Plummer <cjplummer at openjdk.org> wrote:

> I just don't feel comfortable tinkering with the flags in this manner when we aren't sure of the potential performance impact. The footprint improvement is somewhat negligible in the big picture.

Without good benchmarks it is hard to say. But this is true also for the current 'LOW' opt setting that was available since jdk9 at least (probably much longer)
https://github.com/AdoptOpenJDK/openjdk-jdk9/blob/f00b63d24697cce8067f468fe6cd8510374a46f5/jdk/make/lib/Lib-jdk.jdwp.agent.gmk#L80
and in the meantime there were quite a few compiler updates.
Probably we could look at the performance of related jtreg tests so spot bad performance degradations.

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

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


More information about the build-dev mailing list