3583 (total_collections() % G1SummarizeRSetStatsPeriod == 0)) { |
3583 (total_collections() % G1SummarizeRSetStatsPeriod == 0)) { |
3584 g1_rem_set()->print_periodic_summary_info("Before GC RS summary"); |
3584 g1_rem_set()->print_periodic_summary_info("Before GC RS summary"); |
3585 } |
3585 } |
3586 } |
3586 } |
3587 |
3587 |
3588 void G1CollectedHeap::gc_epilogue(bool full /* Ignored */) { |
3588 void G1CollectedHeap::gc_epilogue(bool full) { |
3589 |
3589 |
3590 if (G1SummarizeRSetStats && |
3590 if (G1SummarizeRSetStats && |
3591 (G1SummarizeRSetStatsPeriod > 0) && |
3591 (G1SummarizeRSetStatsPeriod > 0) && |
3592 // we are at the end of the GC. Total collections has already been increased. |
3592 // we are at the end of the GC. Total collections has already been increased. |
3593 ((total_collections() - 1) % G1SummarizeRSetStatsPeriod == 0)) { |
3593 ((total_collections() - 1) % G1SummarizeRSetStatsPeriod == 0)) { |
3600 COMPILER2_PRESENT(assert(DerivedPointerTable::is_empty(), |
3600 COMPILER2_PRESENT(assert(DerivedPointerTable::is_empty(), |
3601 "derived pointer present")); |
3601 "derived pointer present")); |
3602 // always_do_update_barrier = true; |
3602 // always_do_update_barrier = true; |
3603 |
3603 |
3604 resize_all_tlabs(); |
3604 resize_all_tlabs(); |
|
3605 allocation_context_stats().update(full); |
3605 |
3606 |
3606 // We have just completed a GC. Update the soft reference |
3607 // We have just completed a GC. Update the soft reference |
3607 // policy with the new heap occupancy |
3608 // policy with the new heap occupancy |
3608 Universe::update_heap_info_at_gc(); |
3609 Universe::update_heap_info_at_gc(); |
3609 } |
3610 } |