RFR: 8336163: Remove declarations of some debug-only methods in release build [v3]
Eric Liu
eliu at openjdk.org
Thu Aug 1 10:53:32 UTC 2024
On Thu, 1 Aug 2024 08:33:48 GMT, Qizheng Xing <qxing at openjdk.org> wrote:
>> Some of the methods are defined only in debug mode, but their declarations still exist in release mode.
>>
>> This is considered a bug because these methods may be called mistakenly in release mode and cause the build to fail.
>
> Qizheng Xing has updated the pull request incrementally with one additional commit since the last revision:
>
> Merge `#ifndef PRODUCT` regions.
Marked as reviewed by eliu (Committer).
-------------
PR Review: https://git.openjdk.org/jdk/pull/20131#pullrequestreview-2212396047
More information about the hotspot-dev
mailing list