RFR: 8331401: G1: Make G1HRPrinter AllStatic

Thomas Schatzl tschatzl at openjdk.org
Thu May 2 12:28:01 UTC 2024


Hi all,

  the HRPrinter does not have any member variables (static or non-static), so it can be made AllStatic.

I.e. there is no reason to have an instance variable around.

Testing: gha

Hth,
  Thomas

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

Commit messages:
 - 8331401

Changes: https://git.openjdk.org/jdk/pull/19058/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=19058&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8331401
  Stats: 68 lines in 10 files changed: 7 ins; 22 del; 39 mod
  Patch: https://git.openjdk.org/jdk/pull/19058.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/19058/head:pull/19058

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


More information about the hotspot-gc-dev mailing list