hotspot/src/share/vm/gc_interface/collectedHeap.cpp
void CollectedHeap::post_full_gc_dump() {
{- -------------------------------------------
(1) (この関数は, GC 実行前のヒープダンプを出力するためのもの)
---------------------------------------- -}
{- -------------------------------------------
(1) (トレース出力)
(See: HeapDumper)
---------------------------------------- -}
if (HeapDumpAfterFullGC) {
TraceTime tt("Heap Dump", PrintGCDetails, false, gclog_or_tty);
HeapDumper::dump_heap();
}
{- -------------------------------------------
(1) (トレース出力)
(See: VM_GC_HeapInspection)
---------------------------------------- -}
if (PrintClassHistogramAfterFullGC) {
TraceTime tt("Class Histogram", PrintGCDetails, true, gclog_or_tty);
VM_GC_HeapInspection inspector(gclog_or_tty, false /* ! full gc */, false /* ! prologue */);
inspector.doit();
}
}
This document is available under the GNU GENERAL PUBLIC LICENSE Version 2.