1.1 --- a/src/share/vm/gc_implementation/g1/heapRegion.cpp Mon Apr 19 05:40:21 2010 -0700 1.2 +++ b/src/share/vm/gc_implementation/g1/heapRegion.cpp Thu Apr 22 10:02:38 2010 -0700 1.3 @@ -1,5 +1,5 @@ 1.4 /* 1.5 - * Copyright 2001-2009 Sun Microsystems, Inc. All Rights Reserved. 1.6 + * Copyright 2001-2010 Sun Microsystems, Inc. All Rights Reserved. 1.7 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 1.8 * 1.9 * This code is free software; you can redistribute it and/or modify it 1.10 @@ -450,7 +450,9 @@ 1.11 _young_type(NotYoung), _next_young_region(NULL), 1.12 _next_dirty_cards_region(NULL), 1.13 _young_index_in_cset(-1), _surv_rate_group(NULL), _age_index(-1), 1.14 - _rem_set(NULL), _zfs(NotZeroFilled) 1.15 + _rem_set(NULL), _zfs(NotZeroFilled), 1.16 + _recorded_rs_length(0), _predicted_elapsed_time_ms(0), 1.17 + _predicted_bytes_to_copy(0) 1.18 { 1.19 _orig_end = mr.end(); 1.20 // Note that initialize() will set the start of the unmarked area of the 1.21 @@ -733,7 +735,7 @@ 1.22 else 1.23 st->print(" "); 1.24 if (is_young()) 1.25 - st->print(is_scan_only() ? " SO" : (is_survivor() ? " SU" : " Y ")); 1.26 + st->print(is_survivor() ? " SU" : " Y "); 1.27 else 1.28 st->print(" "); 1.29 if (is_empty())