RFR: 8371893: [macOS aarch64] use dead_strip linker option to reduce binary size
Matthias Baesken
mbaesken at openjdk.org
Wed Nov 19 08:32:25 UTC 2025
On Wed, 19 Nov 2025 02:29:31 GMT, Chris Plummer <cjplummer at openjdk.org> wrote:
> Maybe there is some other way to cause a reference to the Metadata vtable so it is not dead stripped.
Would be good to have a fix people agree on, because we already saw the issue with lto enabled for Hotspot (see my comment above). So it is not only an issue related to the dead_strip flag.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/28319#issuecomment-3551410166
More information about the build-dev
mailing list