RFR (M): 8228609: G1 copy cost prediction uses used vs. actual copied bytes

Stefan Johansson stefan.johansson at oracle.com
Wed Nov 13 10:02:46 UTC 2019


Hi Thomas,

On 2019-11-12 10:06, Thomas Schatzl wrote:
> ...
> 
> 
> Given your above comments I changed the code to collect these values in 
> the "Merge Per-Thread State" phase as we only need a total value anyway. 
> At this point the necessary calculations are free, as we already iterate 
> over all _surviving_young_words entries.
> 
> Webrev:
> http://cr.openjdk.java.net/~tschatzl/8228609/webrev.0_to_1/ (diff)
> http://cr.openjdk.java.net/~tschatzl/8228609/webrev.1/ (full)
I think this looks good,
Stefan

> Testing:
> hs-tier1-5
> 
> Thanks,
>    Thomas



More information about the hotspot-gc-dev mailing list