Top


定義場所(file name)

hotspot/src/share/vm/gc_implementation/g1/vm_operations_g1.cpp

名前(function name)

void VM_CGC_Operation::doit() {

本体部(body)

  {- -------------------------------------------
  (1) (トレース出力)
      ---------------------------------------- -}

      gclog_or_tty->date_stamp(PrintGC && PrintGCDateStamps);
      TraceCPUTime tcpu(PrintGCDetails, true, gclog_or_tty);
      TraceTime t(_printGCMessage, PrintGC, true, gclog_or_tty);

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

      SharedHeap* sh = SharedHeap::heap();

  {- -------------------------------------------
  (1) コンストラクタで指定された VoidClosure (_cl) に対して
      VoidClosure::do_void() を呼び出す.
      ---------------------------------------- -}

      // This could go away if CollectedHeap gave access to _gc_is_active...
      if (sh != NULL) {
        IsGCActiveMark x;
        _cl->do_void();
      } else {
        _cl->do_void();
      }
    }

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