RFR: 8290512: G1: Fix typo in allocation statistics log message [v2]
    Thomas Schatzl 
    tschatzl at openjdk.org
       
    Tue Jul 19 11:36:35 UTC 2022
    
    
  
On Tue, 19 Jul 2022 11:12:46 GMT, Kim Barrett <kbarrett at openjdk.org> wrote:
>> Thomas Schatzl has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   kbarrett review
>
> src/hotspot/share/gc/g1/g1OldGenAllocationTracker.cpp line 53:
> 
>> 51: 
>> 52:   log_debug(gc, alloc, stats)("Old generation allocation in the last mutator period, "
>> 53:                               "old gen allocated: " SIZE_FORMAT "B, humongous allocated: " SIZE_FORMAT "B, "
> 
> You could replace uses of `SIZE_FORMAT` with "%zu" formatting directives, which might allow removal of the line break in the string without making it overly long.
Done. Unfortunately the string is still too long for my taste, so I kept it. Thanks!
-------------
PR: https://git.openjdk.org/jdk/pull/9552
    
    
More information about the hotspot-gc-dev
mailing list