RFR: 8371893: [macOS aarch64] use dead_strip linker option to reduce binary size
Matthias Baesken
mbaesken at openjdk.org
Fri Nov 21 08:33:24 UTC 2025
On Wed, 19 Nov 2025 13:05:24 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:
> As usual, maybe it is possible to split this patch between hotspot and the libraries?
Maybe we should for now limit the dead_strip to the JDK native libs ?
This would avoid the trouble with the HS debug helpers coding and the serviceability agent (but in the long run we have this trouble also with linktime-gc and probably LTO which can be enabled by OpenJDK configure, not only with this macOS-linker related flag this PR is about ).
-------------
PR Comment: https://git.openjdk.org/jdk/pull/28319#issuecomment-3561953592
More information about the build-dev
mailing list