RFR: Report correct total garbage data
Roman Kennke
rkennke at redhat.com
Fri Mar 24 20:38:12 UTC 2017
Am 24.03.2017 um 21:01 schrieb Aleksey Shipilev:
> gc+ergo reports weird data:
>
> [21.336s][info][gc,ergo] GC(3) Total Garbage: 347M
> [21.336s][info][gc,ergo] GC(3) Immediate Garbage: 216M, 27 regions
> [21.336s][info][gc,ergo] GC(3) Garbage to be collected: 8072M (2323% of total),
> 1062 regions
> [21.336s][info][gc,ergo] GC(3) Live objects to be evacuated: 423M
>
> "total garbage" is wrong, because it is polled after cset is constructed. Which
> excludes all regions from the cset in total garbage calculation. Trivial fix:
>
> http://cr.openjdk.java.net/~shade/shenandoah/policy-report-correct-garbage/webrev.01/
>
> Thanks,
> -Aleksey
>
Ok
More information about the shenandoah-dev
mailing list