RFR: 8371893: [macOS aarch64] use dead_strip linker option to reduce binary size
Andrew Haley
aph at openjdk.org
Thu Nov 20 15:54:55 UTC 2025
On Thu, 20 Nov 2025 14:36:31 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:
> > On further consideration, I remembered that many of the helpers are debug-only, so that shouldn't be a problem
>
> Thanks for looking into it. I can disable the dead_strip switch for the debug-builds, so it would not eliminate these helpers.
Right, but we'll need to make sure we don't remove the non-debug ones. We don't want to exclude stuff in `src/hotspot/share/utilities/debug.cpp` or explicit helpers in the back ends.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/28319#issuecomment-3558785722
More information about the build-dev
mailing list