src/share/vm/memory/universe.cpp

Print this page
rev 4165 : 8000754: NPG: Implement a MemoryPool MXBean for Metaspace

*** 1104,1113 **** --- 1104,1114 ---- // ("weak") refs processing infrastructure initialization Universe::heap()->post_initialize(); // Initialize performance counters for metaspaces MetaspaceCounters::initialize_performance_counters(); + MemoryService::add_metaspace_memory_pools(); GC_locker::unlock(); // allow gc after bootstrapping MemoryService::set_universe_heap(Universe::_collectedHeap); return true;