RFR: 8303969: Limit printed failures within an object during G1 heap verification

Albert Mingkun Yang ayang at openjdk.org
Fri Mar 10 14:28:16 UTC 2023


On Fri, 10 Mar 2023 13:58:47 GMT, Thomas Schatzl <tschatzl at openjdk.org> wrote:

> Hi all,
> 
>   please review this change to limit per-object liveness and remembered set error printing by `G1MaxVerifyFailures` too to avoid filling the log/disk when there is a large object that has many failures.
> 
> Testing: local compilation, local verification getting less error output on verification failure on humongous objects
> 
> Thanks,
>   Thomas

The new msg unnecessarily exposes some impl detail, IMO.

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

Marked as reviewed by ayang (Reviewer).

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


More information about the hotspot-gc-dev mailing list