RFR: 8331401: G1: Make G1HRPrinter AllStatic

Guoxiong Li gli at openjdk.org
Thu May 2 23:14:51 UTC 2024


On Thu, 2 May 2024 12:23:50 GMT, Thomas Schatzl <tschatzl at openjdk.org> wrote:

> 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

Marked as reviewed by gli (Committer).

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

PR Review: https://git.openjdk.org/jdk/pull/19058#pullrequestreview-2037103888


More information about the hotspot-gc-dev mailing list