On Wed, 25 Oct 2023 17:26:13 GMT, Andrew Haley <a...@openjdk.org> wrote:

> On s390x only, HotSpot is built by GCC with -ffunction-sections.
> This means that debug helpers such as ps() and pfl() are not available. These 
> helpers are extremely useful in debugging, so it makes no sense to omit them 
> from debug builds.

The block in question also works when link-time gc is enabled, which is only so 
on s390x by default:
 
https://github.com/openjdk/jdk/blob/d96f38b80c1606b54b9f3dbfe9717ab9653a0605/make/autoconf/jdk-options.m4#L105-L110

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

PR Comment: https://git.openjdk.org/jdk/pull/16365#issuecomment-1779831230

Reply via email to