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
Sat Jan 31 16:28:00 UTC 2026
On Fri, 30 Jan 2026 12:50:18 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:
> but this is not unused/uncalled in our codebase. I think it is inlined at the 1 or 2 points were it is used. But the method is still generated into the library even in case that it is always inlined ; it may be difficult to address this with the usual linker settings on Linux (means without linktime-gc or LTO or similar stuff ) .
That is a bit unnerving but if someone were to use this warning to remove code that is used then there would be build or test failures.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/29502#issuecomment-3828786260
More information about the core-libs-dev
mailing list