Integrated: 8369818: G1: Add missing region types in gc+heap=debug heap output

Thomas Schatzl tschatzl at openjdk.org
Wed Oct 15 11:27:58 UTC 2025


On Tue, 14 Oct 2025 11:07:00 GMT, Thomas Schatzl <tschatzl at openjdk.org> wrote:

> Hi all,
> 
>   please review this update to the `gc+heap=debug` output to contain all region types (I do not know why it only showed eden and survivor).
> 
> This is also printed in other places (like `hs_err` files) and it is sometimes very interesting to know that e.g. there are humongous regions around.
> 
> It also makes the unit MB because KB is too unwieldy, and the minimum region size is 1 MB anyway.
> 
> Testing: local compilation, checking the log output
> 
> Thanks,
>   Thomas

This pull request has now been integrated.

Changeset: c53ab10d
Author:    Thomas Schatzl <tschatzl at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/c53ab10daedb5acd3fc7b17e8431b30dff88e3c7
Stats:     12 lines in 1 file changed: 4 ins; 1 del; 7 mod

8369818: G1: Add missing region types in gc+heap=debug heap output

Reviewed-by: ayang, iwalulya

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

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


More information about the hotspot-gc-dev mailing list