RFR: 8371893: [macOS aarch64] use dead_strip linker option to reduce binary size

Matthias Baesken mbaesken at openjdk.org
Mon Nov 24 15:01:56 UTC 2025


On Fri, 21 Nov 2025 08:27:51 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:

> Maybe we should for now limit the dead_strip to the JDK native libs ?

Done; additionally I set the dead_strip flag only for release builds (for (fast)debug builds we most likely are totally fine with larger binaries and debuginfo files) .

-------------

PR Comment: https://git.openjdk.org/jdk/pull/28319#issuecomment-3571211348


More information about the build-dev mailing list