CRR (XXS): 7092238: G1: Uninitialized field gc_efficiency in G1PrintRegionLivenessInfo output

Tony Printezis tony.printezis at oracle.com
Tue Sep 20 11:54:35 PDT 2011


All set thanks to JohnC and JohnC. :-)

Tony

Tony Printezis wrote:
> Hi all,
>
> Can I have a couple of quick reviews for this one-line change?
>
> http://cr.openjdk.java.net/~tonyp/7092238/webrev.0/
>
> The _gc_efficiency field seems not to be initialized correctly which 
> is causing random values to be printed in the gc-eff column when 
> +G1PrintRegionLivenessInfo is enabled (even though I have to admit I 
> was unable to reproduce this, at least on Solaris; I consistently got 
> 0.0s on the gc-eff column when the GC efficiency was not calculated 
> for a particular region).
>
> Tony
>
>


More information about the hotspot-gc-dev mailing list