changeset 2739:f0ecbe78fc7b

7092238: G1: Uninitialized field gc_efficiency in G1PrintRegionLivenessInfo output Reviewed-by: jcoomes, johnc
author tonyp
date Thu, 22 Sep 2011 07:18:51 -0400
parents 5cc33133bc6d
children 4dfb2df418f2
files src/share/vm/gc_implementation/g1/heapRegion.cpp
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/gc_implementation/g1/heapRegion.cpp	Wed Sep 21 15:24:07 2011 -0700
+++ b/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