RFR: 8331401: G1: Make G1HRPrinter AllStatic

Ivan Walulya iwalulya at openjdk.org
Thu May 2 13:31:55 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 iwalulya (Reviewer).

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

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


More information about the hotspot-gc-dev mailing list