RFR: 7169803: Usage of pretenured value is not correct

Jon Masamitsu jon.masamitsu at oracle.com
Tue Jun 9 19:37:21 UTC 2015


David,

http://cr.openjdk.java.net/~david/JDK-7169803/webrev.00/src/share/vm/gc/parallel/psAdaptiveSizePolicy.cpp.frames.html

1308   avg_promoted()->sample(promoted + total_pretenured_since_last_promotion());


Is including both "promoted" and "total_pretenured_since_last_promotion()"
double counting?

Jon

On 06/09/2015 02:06 AM, David Lindholm wrote:
> Hi,
>
> Please review this patch that corrects the usage of the pretenured 
> value. There were 2 issues: words and bytes were mixed up and the 
> addition was done with the wrong value. See bug for details.
>
> Webrev: http://cr.openjdk.java.net/~david/JDK-7169803/webrev.00/
> Bug: https://bugs.openjdk.java.net/browse/JDK-7169803
>
>
> Testing: Passed JPRT
>
>
> Thanks,
> David



More information about the hotspot-gc-dev mailing list