2842 } |
2842 } |
2843 } |
2843 } |
2844 |
2844 |
2845 if (PrintHeapAtGC) { |
2845 if (PrintHeapAtGC) { |
2846 Universe::print_heap_after_gc(); |
2846 Universe::print_heap_after_gc(); |
|
2847 } |
|
2848 if (G1SummarizeRSetStats && |
|
2849 (G1SummarizeRSetStatsPeriod > 0) && |
|
2850 (total_collections() % G1SummarizeRSetStatsPeriod == 0)) { |
|
2851 g1_rem_set()->print_summary_info(); |
2847 } |
2852 } |
2848 } |
2853 } |
2849 |
2854 |
2850 void G1CollectedHeap::set_gc_alloc_region(int purpose, HeapRegion* r) { |
2855 void G1CollectedHeap::set_gc_alloc_region(int purpose, HeapRegion* r) { |
2851 assert(purpose >= 0 && purpose < GCAllocPurposeCount, "invalid purpose"); |
2856 assert(purpose >= 0 && purpose < GCAllocPurposeCount, "invalid purpose"); |