RFR: 8331398: G1: HRPrinter reclamation events should print the original region type [v2]
Thomas Schatzl
tschatzl at openjdk.org
Thu May 2 08:50:25 UTC 2024
> Hi all,
>
> currently, the various reclamation events always print `FREE` as the region type in the event string because the methods are always called after freeing.
>
> This is kind of useless information (obviously reclaimed regions are `FREE` after reclaiming), so this CR suggests to use the original type to understand what region has been reclaimed.
>
> It helped at least me a bit when debugging crashes after some refinement changes.
>
> This is based on PR#19013, so please have a look at it as well.
>
> Testing: local compilation, local testing
>
> Thanks,
> Thomas
Thomas Schatzl has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase.
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/19017/files
- new: https://git.openjdk.org/jdk/pull/19017/files/054cad68..054cad68
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=19017&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=19017&range=00-01
Stats: 0 lines in 0 files changed: 0 ins; 0 del; 0 mod
Patch: https://git.openjdk.org/jdk/pull/19017.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/19017/head:pull/19017
PR: https://git.openjdk.org/jdk/pull/19017
More information about the hotspot-gc-dev
mailing list