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

Qizheng Xing qxing at openjdk.org
Thu Aug 1 08:33:48 UTC 2024


> 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.

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/20131/files
  - new: https://git.openjdk.org/jdk/pull/20131/files/37a14107..1117b89d

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=20131&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=20131&range=01-02

  Stats: 8 lines in 1 file changed: 3 ins; 5 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/20131.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/20131/head:pull/20131

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


More information about the hotspot-dev mailing list