RFR: 8376703: Some coding in libjimage seems to be not called at all or not called from PRODUCT code [v2]
Alan Bateman
alanb at openjdk.org
Sun Feb 1 17:09:03 UTC 2026
On Fri, 30 Jan 2026 12:41:33 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:
>> 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
@david-beaumont Can you verify that your upcoming changes to jimage do no depend on the functions that are removed here?
-------------
PR Comment: https://git.openjdk.org/jdk/pull/29502#issuecomment-3831436860
More information about the core-libs-dev
mailing list