Top


定義場所(file name)

hotspot/src/share/vm/gc_implementation/shared/vmGCOperations.cpp

名前(function name)

void VM_GenCollectFull::doit() {

本体部(body)

  {- -------------------------------------------
  (1) (DTrace のフック点) (JVMTI のフック点)
      (See: SvcGCMarker)
      ---------------------------------------- -}

      SvcGCMarker sgcm(SvcGCMarker::FULL);

  {- -------------------------------------------
  (1) (変数宣言など)
      ---------------------------------------- -}

      GenCollectedHeap* gch = GenCollectedHeap::heap();
      GCCauseSetter gccs(gch, _gc_cause);

  {- -------------------------------------------
  (1) GenCollectedHeap::do_full_collection() を呼んで, GC を実行する.
      ---------------------------------------- -}

      gch->do_full_collection(gch->must_clear_all_soft_refs(), _max_level);
    }

This document is available under the GNU GENERAL PUBLIC LICENSE Version 2.