Mercurial > hg > truffle
comparison src/share/vm/memory/universe.cpp @ 11039:71963b3f802a
8013590: NPG: Add a memory pool MXBean for Metaspace
Reviewed-by: jmasa, mgerdin
author | ehelin |
---|---|
date | Wed, 26 Jun 2013 16:58:37 +0200 |
parents | ef57c43512d6 |
children | 2b9380b0bf0b |
comparison
equal
deleted
inserted
replaced
11038:f99cd6e20ab1 | 11039:71963b3f802a |
---|---|
1125 // ("weak") refs processing infrastructure initialization | 1125 // ("weak") refs processing infrastructure initialization |
1126 Universe::heap()->post_initialize(); | 1126 Universe::heap()->post_initialize(); |
1127 | 1127 |
1128 // Initialize performance counters for metaspaces | 1128 // Initialize performance counters for metaspaces |
1129 MetaspaceCounters::initialize_performance_counters(); | 1129 MetaspaceCounters::initialize_performance_counters(); |
1130 MemoryService::add_metaspace_memory_pools(); | |
1130 | 1131 |
1131 GC_locker::unlock(); // allow gc after bootstrapping | 1132 GC_locker::unlock(); // allow gc after bootstrapping |
1132 | 1133 |
1133 MemoryService::set_universe_heap(Universe::_collectedHeap); | 1134 MemoryService::set_universe_heap(Universe::_collectedHeap); |
1134 return true; | 1135 return true; |