Integrated: 8331401: G1: Make G1HRPrinter AllStatic

Thomas Schatzl tschatzl at openjdk.org
Fri May 3 12:06:01 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

This pull request has now been integrated.

Changeset: 8ed31902
Author:    Thomas Schatzl <tschatzl at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/8ed319023e921a980ea197fbffe417f35fc59b94
Stats:     68 lines in 10 files changed: 7 ins; 22 del; 39 mod

8331401: G1: Make G1HRPrinter AllStatic

Reviewed-by: iwalulya, ayang, gli

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

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


More information about the hotspot-gc-dev mailing list