Top


定義場所(file name)

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

名前(function name)

MemoryPool* MemoryService::add_space(ContiguousSpace* space,
                                     const char* name,
                                     bool is_heap,
                                     size_t max_size,
                                     bool support_usage_threshold) {

本体部(body)

  {- -------------------------------------------
  (1) ContiguousSpacePool のインスタンスを生成し, _pools_list に登録する.
      ---------------------------------------- -}

      MemoryPool::PoolType type = (is_heap ? MemoryPool::Heap : MemoryPool::NonHeap);
      ContiguousSpacePool* pool = new ContiguousSpacePool(space, name, type, max_size, support_usage_threshold);

      _pools_list->append(pool);
      return (MemoryPool*) pool;
    }

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