228 |
228 |
229 HeapRegion::HeapRegion(uint hrm_index, |
229 HeapRegion::HeapRegion(uint hrm_index, |
230 G1BlockOffsetTable* bot, |
230 G1BlockOffsetTable* bot, |
231 MemRegion mr) : |
231 MemRegion mr) : |
232 G1ContiguousSpace(bot), |
232 G1ContiguousSpace(bot), |
|
233 _rem_set(NULL), |
233 _hrm_index(hrm_index), |
234 _hrm_index(hrm_index), |
|
235 _type(), |
234 _humongous_start_region(NULL), |
236 _humongous_start_region(NULL), |
235 _evacuation_failed(false), |
237 _evacuation_failed(false), |
236 _prev_marked_bytes(0), _next_marked_bytes(0), _gc_efficiency(0.0), |
|
237 _next(NULL), _prev(NULL), |
238 _next(NULL), _prev(NULL), |
238 #ifdef ASSERT |
239 #ifdef ASSERT |
239 _containing_set(NULL), |
240 _containing_set(NULL), |
240 #endif // ASSERT |
241 #endif |
241 _young_index_in_cset(-1), _surv_rate_group(NULL), _age_index(-1), |
242 _prev_marked_bytes(0), _next_marked_bytes(0), _gc_efficiency(0.0), |
242 _rem_set(NULL), _recorded_rs_length(0), _predicted_elapsed_time_ms(0) |
243 _young_index_in_cset(-1), _surv_rate_group(NULL), _age_index(-1), |
|
244 _prev_top_at_mark_start(NULL), _next_top_at_mark_start(NULL), |
|
245 _recorded_rs_length(0), _predicted_elapsed_time_ms(0) |
243 { |
246 { |
244 _rem_set = new HeapRegionRemSet(bot, this); |
247 _rem_set = new HeapRegionRemSet(bot, this); |
245 |
248 |
246 initialize(mr); |
249 initialize(mr); |
247 } |
250 } |