8000358: G1: metaspace information not printed in PrintHeapAtGC output nor in hs_err file
Summary: Missing call to MetaspaceAux::print_on() in G1CollectedHeap::print_on().
Reviewed-by: azeemj, jmasa
Contributed-by: Mikael Gerdin <mikael.gerdin@oracle.com>
--- a/hotspot/src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp Sat Oct 06 01:17:44 2012 -0700
+++ b/hotspot/src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp Mon Oct 08 09:12:31 2012 -0700
@@ -3388,6 +3388,7 @@
st->print("%u survivors (" SIZE_FORMAT "K)", survivor_regions,
(size_t) survivor_regions * HeapRegion::GrainBytes / K);
st->cr();
+ MetaspaceAux::print_on(st);
}
void G1CollectedHeap::print_extended_on(outputStream* st) const {