Discussion about logging *Basic* statistic of evacuation failure

lihuaming (A) lihuaming3 at huawei.com
Mon Dec 6 07:25:17 UTC 2021


Hi all,

May I have your attention to discuss about logging *Basic* statistic of evacuation failure, this is to get more information about the pause time distribution and region/objects/size statistics when processing evacuation failure objects in "Remove Self Forwards", this information will be helpful when optimize the evacuation failure processing subsequently, and will also be helpful for users to analyze and troubleshoot in the future.

Below are the basic statistics to be logged, would you mind to share your points about this logging message?
```
[11.094s][debug][gc,phases] GC(0)       Remove Self Forwards Total (ms): Min: 785.3, Avg: 1694.0, Max: 2515.6, Diff: 1730.4, Sum: 54209.0, Workers: 32
[11.094s][debug][gc,phases] GC(0)         Evacuation Failure Regions:    Min: 79, Avg: 79.0, Max: 79, Diff: 0, Sum: 79, Workers: 1
[11.094s][debug][gc,phases] GC(0)         Evacuation Failure Objects:    Min: 220509, Avg: 773970.7, Max: 1188749, Diff: 968240, Sum: 24767061, Workers: 32
[11.094s][debug][gc,phases] GC(0)         Evacuation Failure Bytes:      Min: 6271696, Avg: 23578654.8, Max: 36133240, Diff: 29861544, Sum: 754516952, Workers: 32
[11.094s][debug][gc,phases] GC(0)         Remove Self Forwards Prepare (ms): Min: 59.6, Avg: 231.4, Max: 363.7, Diff: 304.1, Sum: 7405.2, Workers: 32
[11.094s][debug][gc,phases] GC(0)         Remove Self Forwards Process (ms): Min: 632.9, Avg: 1431.2, Max: 2145.8, Diff: 1513.0, Sum: 45799.8, Workers: 32
[11.094s][debug][gc,phases] GC(0)         Remove Self Forwards Cleanup (ms): Min:  0.4, Avg:  1.7, Max:  2.8, Diff:  2.4, Sum: 52.9, Workers: 32
```

BTW, there will be other further detailed logging message to be added, for the convenience of discussion, they will be discussed in subsequent threads.

Thanks
-Hamlin



More information about the hotspot-gc-dev mailing list