hotspot/src/share/vm/services/memoryService.cpp
void MemoryService::add_g1OldGen_memory_pool(G1CollectedHeap* g1h,
MemoryManager* mgr) {
{- -------------------------------------------
(1) G1OldGenPool のインスタンスを生成し,
引数で与えられた MemoryManager, 及び _pools_list に登録する.
---------------------------------------- -}
assert(mgr != NULL, "should have one manager");
G1OldGenPool* old_gen = new G1OldGenPool(g1h);
mgr->add_pool(old_gen);
_pools_list->append(old_gen);
}
This document is available under the GNU GENERAL PUBLIC LICENSE Version 2.