On Thu, 20 Nov 2025 15:51:55 GMT, Andrew Haley <[email protected]> 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. Most of the debug.cpp helpers are in product builds now. I think only pns() and pns2() are left out of product builds. ------------- PR Comment: https://git.openjdk.org/jdk/pull/28319#issuecomment-3559202033
