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

Thomas Schatzl tschatzl at openjdk.org
Mon Mar 13 10:00:41 UTC 2023


On Fri, 10 Mar 2023 14:25:06 GMT, Albert Mingkun Yang <ayang 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.

Thanks @albertnetymk @walulyai for your reviews

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

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


More information about the hotspot-gc-dev mailing list