Top


定義場所(file name)

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

名前(function name)

void MemoryService::track_memory_usage() {

本体部(body)

  {- -------------------------------------------
  (1) 各 MemoryPool に対して MemoryPool::record_peak_memory_usage() を呼び出し, 最大使用量等の情報を更新する.
      ---------------------------------------- -}

      // Track the peak memory usage
      for (int i = 0; i < _pools_list->length(); i++) {
        MemoryPool* pool = _pools_list->at(i);
        pool->record_peak_memory_usage();
      }

  {- -------------------------------------------
  (1) (JMM のフック点) (See: LowMemoryDetector)
      ---------------------------------------- -}

      // Detect low memory
      LowMemoryDetector::detect_low_memory();
    }

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