RFR: 8371626: [linux] use icf=all for linking libraries [v3]
Erik Joelsson
erikj at openjdk.org
Tue Nov 18 14:03:07 UTC 2025
On Tue, 18 Nov 2025 08:13:52 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:
> > Did you consider using `--icf=safe` instead? Using `--icf==all` seems to be risky.
>
> I tried this too, it works but the binaries are a bit larger with this setting, but I have no detailed values. Regarding 'risky' I did not see any test issues with the flag added in our CI .
I would like input from someone in Hotspot regarding implications on debugging and if the changes to memory layout could cause any issues.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/28236#issuecomment-3547771623
More information about the build-dev
mailing list