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

Leo Korinth lkorinth at openjdk.org
Fri Oct 11 08:32:09 UTC 2024


On Thu, 10 Oct 2024 15:13:48 GMT, Thomas Schatzl <tschatzl 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 to me, if you change %4u to %5u that is okay with me as well even if it is more uncommon with that many regions.

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

Marked as reviewed by lkorinth (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/21454#pullrequestreview-2362256097


More information about the hotspot-gc-dev mailing list