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

Tony Printezis tony.printezis at
Tue Sep 20 17:26:25 UTC 2011

Hi all,

Can I have a couple of quick reviews for this one-line change?

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).


More information about the hotspot-gc-dev mailing list