Integrated: 8331398: G1: G1HeapRegionPrinter reclamation events should print the original region type
Thomas Schatzl
tschatzl at openjdk.org
Fri May 24 07:15:09 UTC 2024
On Tue, 30 Apr 2024 10:20:21 GMT, Thomas Schatzl <tschatzl at openjdk.org> wrote:
> 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
This pull request has now been integrated.
Changeset: a71b4047
Author: Thomas Schatzl <tschatzl at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/a71b40478510db3c69696df608fd1b32f41c57f3
Stats: 51 lines in 4 files changed: 4 ins; 46 del; 1 mod
8331398: G1: G1HeapRegionPrinter reclamation events should print the original region type
Reviewed-by: ayang, iwalulya, gli
-------------
PR: https://git.openjdk.org/jdk/pull/19017
More information about the hotspot-gc-dev
mailing list