hotspot/src/share/vm/memory/universe.cpp
changeset 18453 4056af328b00
parent 18109 c4a4f293ad06
parent 18444 8adb4bc92f18
child 18492 ab4fbcf75767
equal deleted inserted replaced
18429:a4dc43d4f0fe 18453:4056af328b00
  1145   // ("weak") refs processing infrastructure initialization
  1145   // ("weak") refs processing infrastructure initialization
  1146   Universe::heap()->post_initialize();
  1146   Universe::heap()->post_initialize();
  1147 
  1147 
  1148   // Initialize performance counters for metaspaces
  1148   // Initialize performance counters for metaspaces
  1149   MetaspaceCounters::initialize_performance_counters();
  1149   MetaspaceCounters::initialize_performance_counters();
       
  1150   MemoryService::add_metaspace_memory_pools();
  1150 
  1151 
  1151   GC_locker::unlock();  // allow gc after bootstrapping
  1152   GC_locker::unlock();  // allow gc after bootstrapping
  1152 
  1153 
  1153   MemoryService::set_universe_heap(Universe::_collectedHeap);
  1154   MemoryService::set_universe_heap(Universe::_collectedHeap);
  1154   return true;
  1155   return true;