RFR: 8278282: G1: Log basic statistics of evacuation failure
Hamlin Li
mli at openjdk.java.net
Mon Dec 20 02:25:24 UTC 2021
On Fri, 17 Dec 2021 12:03:00 GMT, Thomas Schatzl <tschatzl at openjdk.org> wrote:
>> The original pr is at #6763 , which should be retired as we have decided to adjust part of optimization solution for evacuation failure (see #6627 for details), so the log will be adjusted accordiingly.
>> The basic log related to evacuation failed will looks like below based on this patch.
>>
>>
>> [13.126s][debug][gc,phases] GC(0) Restore Retained Regions (ms): Min: 0.0, Avg: 197.4, Max: 1579.1, Diff: 1579.1, Sum: 1579.1, Workers: 8
>> [13.126s][debug][gc,phases] GC(0) Evacuation Failure Regions: Min: 1, Avg: 1.0, Max: 1, Diff: 0, Sum: 1, Workers: 1
>
> test/hotspot/jtreg/gc/g1/TestGCLogMessages.java line 268:
>
>> 266: new LogMessageWithLevel("Recalculate Used Memory", Level.DEBUG),
>> 267: new LogMessageWithLevel("Restore Preserved Marks", Level.DEBUG),
>> 268: new LogMessageWithLevel("Restore Retained Regions", Level.DEBUG),
>
> Please also check the work item in this test. Needs to be added just here.
Thanks Thomas, I have added checking newly added work items.
-------------
PR: https://git.openjdk.java.net/jdk/pull/6860
More information about the hotspot-dev
mailing list