RFR: 8336163: Remove declarations of some debug-only methods in release build [v2]

Qizheng Xing qxing at openjdk.org
Thu Aug 1 06:34:31 UTC 2024


On Thu, 11 Jul 2024 07:12:35 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:
> 
>   Update copyright.

Hi all,

This PR does some cleanup of some unused declarations in release mode, which is trivial and low risk.

Could someone please review this PR?

Thanks!

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

PR Comment: https://git.openjdk.org/jdk/pull/20131#issuecomment-2262157566


More information about the hotspot-dev mailing list