Mercurial > hg > truffle
comparison src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp @ 884:83b687ce3090
6866591: G1: print update buffer processing stats more often
Summary: It adds parameter -XX:+G1SummarizeRSetStatsPeriod that causes update buffer processing information to be printed periodically. It also includes two small formatting changes.
Reviewed-by: jmasa, jcoomes, ysr
author | tonyp |
---|---|
date | Thu, 30 Jul 2009 14:50:58 -0400 |
parents | 27f6a9b9c311 |
children | 15c5903cf9e1 |
comparison
equal
deleted
inserted
replaced
883:27f6a9b9c311 | 884:83b687ce3090 |
---|---|
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"); |