Mercurial > hg > truffle
comparison src/share/vm/gc_implementation/g1/g1CollectorPolicy.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 |
---|---|
2457 st->print_cr("\nCollection_set:"); | 2457 st->print_cr("\nCollection_set:"); |
2458 HeapRegion* csr = list_head; | 2458 HeapRegion* csr = list_head; |
2459 while (csr != NULL) { | 2459 while (csr != NULL) { |
2460 HeapRegion* next = csr->next_in_collection_set(); | 2460 HeapRegion* next = csr->next_in_collection_set(); |
2461 assert(csr->in_collection_set(), "bad CS"); | 2461 assert(csr->in_collection_set(), "bad CS"); |
2462 st->print_cr(" [%08x-%08x], t: %08x, P: %08x, N: %08x, C: %08x, " | 2462 st->print_cr(" "HR_FORMAT", P: "PTR_FORMAT "N: "PTR_FORMAT", age: %4d", |
2463 "age: %4d, y: %d, surv: %d", | 2463 HR_FORMAT_PARAMS(csr), |
2464 csr->bottom(), csr->end(), | 2464 csr->prev_top_at_mark_start(), csr->next_top_at_mark_start(), |
2465 csr->top(), | 2465 csr->age_in_surv_rate_group_cond()); |
2466 csr->prev_top_at_mark_start(), | |
2467 csr->next_top_at_mark_start(), | |
2468 csr->top_at_conc_mark_count(), | |
2469 csr->age_in_surv_rate_group_cond(), | |
2470 csr->is_young(), | |
2471 csr->is_survivor()); | |
2472 csr = next; | 2466 csr = next; |
2473 } | 2467 } |
2474 } | 2468 } |
2475 #endif // !PRODUCT | 2469 #endif // !PRODUCT |
2476 | 2470 |