RFR: 8369818: G1: Add missing region types in gc+heap=debug heap output [v2]
Thomas Schatzl
tschatzl at openjdk.org
Wed Oct 15 05:52:35 UTC 2025
> 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
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/27798/files
- new: https://git.openjdk.org/jdk/pull/27798/files/5040a5bb..775f7e8f
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=27798&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=27798&range=00-01
Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/27798.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/27798/head:pull/27798
PR: https://git.openjdk.org/jdk/pull/27798
More information about the hotspot-gc-dev
mailing list