RFR: 8341909: G1: Add region index to region printer output

Thomas Schatzl tschatzl at openjdk.org
Fri Oct 11 09:15:15 UTC 2024


On Thu, 10 Oct 2024 21:31:39 GMT, Kim Barrett <kbarrett at openjdk.org> wrote:

>> Hi all,
>> 
>>   please review this small improvement to the G1HeapRegionPrinter output to add the region index - this makes cross-referencing with other log messages much easier.
>> 
>> Testing: gha
>> 
>> Thanks,
>>   Thomas
>
> Looks good.

Thanks @kimbarrett @lkorinth for your reviews.

I will keep the 4 digits, it would cover ~300GB heaps at 32M per region (even more with larger regions). This is probably much larger than anyone would use this debug message with.

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

PR Comment: https://git.openjdk.org/jdk/pull/21454#issuecomment-2406982113


More information about the hotspot-gc-dev mailing list