7092238: G1: Uninitialized field gc_efficiency in G1PrintRegionLivenessInfo output
authortonyp
Thu, 22 Sep 2011 07:18:51 -0400
changeset 10669 cfa6efbbc1b3
parent 10668 1070b189c76e
child 10670 4ea0e7d2ffbc
7092238: G1: Uninitialized field gc_efficiency in G1PrintRegionLivenessInfo output Reviewed-by: jcoomes, johnc
hotspot/src/share/vm/gc_implementation/g1/heapRegion.cpp
--- a/hotspot/src/share/vm/gc_implementation/g1/heapRegion.cpp	Wed Sep 21 15:24:07 2011 -0700
+++ b/hotspot/src/share/vm/gc_implementation/g1/heapRegion.cpp	Thu Sep 22 07:18:51 2011 -0400
@@ -489,6 +489,7 @@
     _next_in_special_set(NULL), _orig_end(NULL),
     _claimed(InitialClaimValue), _evacuation_failed(false),
     _prev_marked_bytes(0), _next_marked_bytes(0), _sort_index(-1),
+    _gc_efficiency(0.0),
     _young_type(NotYoung), _next_young_region(NULL),
     _next_dirty_cards_region(NULL), _next(NULL), _pending_removal(false),
 #ifdef ASSERT