Top


定義場所(file name)

hotspot/src/share/vm/gc_interface/collectedHeap.cpp

名前(function name)

void CollectedHeap::post_full_gc_dump() {

本体部(body)

  {- -------------------------------------------
  (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.