RFR: 8331402: G1: Remove is_active() calls in G1HRPrinter logging

Thomas Schatzl tschatzl at openjdk.org
Thu May 2 13:08:04 UTC 2024


Hi all,

  the `is_active()` call for the various G1HRPrinter methods is unnecessary as the `log_trace()` call will do the exact same check again anyway.

Testing: gha, local compilation

Based on #19058.

Hth,
  Thomas

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

Depends on: https://git.openjdk.org/jdk/pull/19058

Commit messages:
 - 8331402

Changes: https://git.openjdk.org/jdk/pull/19061/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=19061&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8331402
  Stats: 62 lines in 1 file changed: 0 ins; 50 del; 12 mod
  Patch: https://git.openjdk.org/jdk/pull/19061.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/19061/head:pull/19061

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


More information about the hotspot-gc-dev mailing list