RFR: 8376703: Some coding in libjimage seems to be not called at all or not called from PRODUCT code [v2]
Matthias Baesken
mbaesken at openjdk.org
Fri Jan 30 12:41:33 UTC 2026
> libjimage has a few unused functions/methods; those are listed when logging elimination with -Wl,--gc-sections -Wl,--print-gc-sections .
> We could remove them (or with if are still needed for completeness put them into #if 0 ) to reduce lib size on Linux and AIX.
> On Windows and macOS it seems the compiler/linker default settings are good enough to eliminate the code.
Matthias Baesken has updated the pull request incrementally with one additional commit since the last revision:
Adjust COPYRIGHT headers
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/29502/files
- new: https://git.openjdk.org/jdk/pull/29502/files/bcfda923..8a68ef39
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=29502&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=29502&range=00-01
Stats: 4 lines in 4 files changed: 0 ins; 0 del; 4 mod
Patch: https://git.openjdk.org/jdk/pull/29502.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/29502/head:pull/29502
PR: https://git.openjdk.org/jdk/pull/29502
More information about the core-libs-dev
mailing list