RFR: 8349638: Build libjdwp with SIZE optimization
Matthias Baesken
mbaesken at openjdk.org
Tue Feb 11 16:01:45 UTC 2025
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 .
-------------
Commit messages:
- JDK-8349638
Changes: https://git.openjdk.org/jdk/pull/23563/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=23563&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8349638
Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/23563.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/23563/head:pull/23563
PR: https://git.openjdk.org/jdk/pull/23563
More information about the build-dev
mailing list