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

Qizheng Xing qxing at openjdk.org
Wed Aug 14 06:31:00 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.

This pull request has now been integrated.

Changeset: 3dd07b91
Author:    Qizheng Xing <qxing at openjdk.org>
Committer: Eric Liu <eliu at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/3dd07b91bbf644aa867452806e9388089fa97548
Stats:     23 lines in 5 files changed: 18 ins; 4 del; 1 mod

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

Reviewed-by: dholmes, eliu, kvn

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

PR: https://git.openjdk.org/jdk/pull/20131


More information about the hotspot-dev mailing list