comparison src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp @ 6027:8a2e5a6a19a4

7143490: G1: Remove HeapRegion::_top_at_conc_mark_count Summary: Removed the HeapRegion::_top_at_conc_mark_count field. It is no longer needed as a result of the changes for 6888336 and 7127706. Refactored the closures that finalize and verify the liveness counting data so that common functionality was placed into a base class. Reviewed-by: brutisso, tonyp
author johnc
date Wed, 25 Apr 2012 10:23:12 -0700
parents f7a8920427a6
children 48fac5d60c3c
comparison
equal deleted inserted replaced
6026:9f059abe8cf2 6027:8a2e5a6a19a4
366 gclog_or_tty->print_cr("%s LIST CONTENTS", names[list]); 366 gclog_or_tty->print_cr("%s LIST CONTENTS", names[list]);
367 HeapRegion *curr = lists[list]; 367 HeapRegion *curr = lists[list];
368 if (curr == NULL) 368 if (curr == NULL)
369 gclog_or_tty->print_cr(" empty"); 369 gclog_or_tty->print_cr(" empty");
370 while (curr != NULL) { 370 while (curr != NULL) {
371 gclog_or_tty->print_cr(" [%08x-%08x], t: %08x, P: %08x, N: %08x, C: %08x, " 371 gclog_or_tty->print_cr(" "HR_FORMAT", P: "PTR_FORMAT "N: "PTR_FORMAT", age: %4d",
372 "age: %4d, y: %d, surv: %d", 372 HR_FORMAT_PARAMS(curr),
373 curr->bottom(), curr->end(),
374 curr->top(),
375 curr->prev_top_at_mark_start(), 373 curr->prev_top_at_mark_start(),
376 curr->next_top_at_mark_start(), 374 curr->next_top_at_mark_start(),
377 curr->top_at_conc_mark_count(), 375 curr->age_in_surv_rate_group_cond());
378 curr->age_in_surv_rate_group_cond(),
379 curr->is_young(),
380 curr->is_survivor());
381 curr = curr->get_next_young_region(); 376 curr = curr->get_next_young_region();
382 } 377 }
383 } 378 }
384 379
385 gclog_or_tty->print_cr(""); 380 gclog_or_tty->print_cr("");