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

David Holmes dholmes at openjdk.org
Thu Jul 11 06:57:56 UTC 2024


On Thu, 11 Jul 2024 03:37:06 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.

Looks good. Thanks for cleaning this up.

Please update the copyright year in  src/hotspot/share/runtime/registerMap.hpp

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

Changes requested by dholmes (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/20131#pullrequestreview-2171067941


More information about the hotspot-dev mailing list