hotspot/src/share/vm/services/memoryService.cpp
void MemoryService::add_cms_perm_gen_memory_pool(CMSPermGenGen* cms_gen,
MemoryManager* mgr) {
{- -------------------------------------------
(1) MemoryService::add_cms_space() で CompactibleFreeListSpacePool のインスタンスを生成し,
引数で渡された MemoryManager に登録する.
---------------------------------------- -}
MemoryPool* pool = add_cms_space(cms_gen->cmsSpace(),
"CMS Perm Gen",
false, /* is_heap */
cms_gen->reserved().byte_size(),
true /* support_usage_threshold */);
mgr->add_pool(pool);
}
This document is available under the GNU GENERAL PUBLIC LICENSE Version 2.