RFR: 8369818: G1: Add missing region types in gc+heap=debug heap output [v2]
Ivan Walulya
iwalulya at openjdk.org
Wed Oct 15 09:28:43 UTC 2025
On Wed, 15 Oct 2025 05:52:35 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
>
> Thomas Schatzl has updated the pull request incrementally with one additional commit since the last revision:
>
> Update src/hotspot/share/gc/g1/g1CollectedHeap.cpp
Marked as reviewed by iwalulya (Reviewer).
-------------
PR Review: https://git.openjdk.org/jdk/pull/27798#pullrequestreview-3339343811
More information about the hotspot-gc-dev
mailing list