comparison src/share/vm/gc_implementation/g1/concurrentMark.cpp @ 4830:0b3d1ec6eaee

7097586: G1: improve the per-space output when using jmap -heap Summary: Extend the jmap -heap output for G1 to include some more G1-specific information. Reviewed-by: brutisso, johnc, poonam
author tonyp
date Wed, 18 Jan 2012 10:30:12 -0500
parents 851b58c26def
children d30fa85f9994
comparison
equal deleted inserted replaced
4829:9509c20bba28 4830:0b3d1ec6eaee
1883 Universe::update_heap_info_at_gc(); 1883 Universe::update_heap_info_at_gc();
1884 1884
1885 // We need to make this be a "collection" so any collection pause that 1885 // We need to make this be a "collection" so any collection pause that
1886 // races with it goes around and waits for completeCleanup to finish. 1886 // races with it goes around and waits for completeCleanup to finish.
1887 g1h->increment_total_collections(); 1887 g1h->increment_total_collections();
1888
1889 // We reclaimed old regions so we should calculate the sizes to make
1890 // sure we update the old gen/space data.
1891 g1h->g1mm()->update_sizes();
1888 1892
1889 if (VerifyDuringGC) { 1893 if (VerifyDuringGC) {
1890 HandleMark hm; // handle scope 1894 HandleMark hm; // handle scope
1891 gclog_or_tty->print(" VerifyDuringGC:(after)"); 1895 gclog_or_tty->print(" VerifyDuringGC:(after)");
1892 Universe::heap()->prepare_for_verify(); 1896 Universe::heap()->prepare_for_verify();