RFR: 8349638: Build libjdwp with SIZE optimization
Magnus Ihse Bursie
ihse at openjdk.org
Wed May 21 09:22:02 UTC 2025
On Tue, 11 Feb 2025 15:56:39 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:
> The libjdwp is currently built with LOW optimization level, it could be built with SIZE optimization to lower the lib size by ~ 10 % on UNIX.
> On Windows LOW and SIZE currently translate to the same O1 optimization flag so no difference there.
>
> On Linux x86_64 for example the lib shrinks from
> 300K to 268K and the debuginfo file shrinks from 1.9M to 1.7M .
>
> On Linux ppc64le for example the lib shrinks from
> 428K to 368K and the debuginfo file shrinks from 2.0M to 1.7M .
No, I'm sorry, I don't have the cycles over to drive such a thing. I appreciate the work you are doing but I am unable to help with anything apart from reviewing. So if you think you want to do this library by library, then do so, and if so keep this PR. Or maybe you can publish a PR that updates all libraries, and try to gather feedback from it. I don't know what's best.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/23563#issuecomment-2897228148
More information about the serviceability-dev
mailing list