Top


定義場所(file name)

hotspot/src/share/vm/services/memoryService.cpp

名前(function name)

void MemoryService::gc_end(bool fullGC, bool recordPostGCUsage,
                           bool recordAccumulatedGCTime,
                           bool recordGCEndTime, bool countCollection,
                           GCCause::Cause cause) {

本体部(body)

  {- -------------------------------------------
  (1) GCMemoryManager::gc_end() を呼び出す.
      どちらのオブジェクトに対して呼び出すかは, 引数の fullGC の値に応じて決める.
      (full GC の場合には _major_gc_manager, そうでなければ _minor_gc_manager)
      ---------------------------------------- -}

      GCMemoryManager* mgr;
      if (fullGC) {
        mgr = (GCMemoryManager*) _major_gc_manager;
      } else {
        mgr = (GCMemoryManager*) _minor_gc_manager;
      }
      assert(mgr->is_gc_memory_manager(), "Sanity check");

      // register the GC end statistics and memory usage
      mgr->gc_end(recordPostGCUsage, recordAccumulatedGCTime, recordGCEndTime,
                  countCollection, cause);
    }

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