RFR: 8349638: Build libjdwp with SIZE optimization
Matthias Baesken
mbaesken at openjdk.org
Mon Feb 24 13:59:52 UTC 2025
On Fri, 21 Feb 2025 19:07:05 GMT, Chris Plummer <cjplummer at openjdk.org> wrote:
> You are suggesting potentially sacrificing some performance for reduced footprint (and a tiny footprint reduction at that) without it being a choice
On some platforms we might have a (small) performance impact when going from LOW/NORM to SIZE (e.g. with MSVC it is the same settings anyways). But without benchmarks it is hard to say if there really is a decline in performance (and if so, how much).
My assumption (after talking to our leading debugging expert) was that libjdwp is not very performance critical but maybe this was wrong.
On the other hand we can achieve good performance _and_ smaller binaries with lto (at least with gcc).
-------------
PR Comment: https://git.openjdk.org/jdk/pull/23563#issuecomment-2678491013
More information about the build-dev
mailing list