RFR: 8331401: G1: Make G1HRPrinter AllStatic

Thomas Schatzl tschatzl at openjdk.org
Fri May 3 12:06:01 UTC 2024


On Thu, 2 May 2024 23:12:31 GMT, Guoxiong Li <gli 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).

Thanks @lgxbslgx @albertnetymk @walulyai for your reviews

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

PR Comment: https://git.openjdk.org/jdk/pull/19058#issuecomment-2092873938


More information about the hotspot-gc-dev mailing list