8013590: NPG: Add a memory pool MXBean for Metaspace

Reviewed-by: jmasa, mgerdin
This commit is contained in:
Erik Helin 2013-06-26 16:58:37 +02:00
parent ca3a1be3fe
commit 604a75ff30
10 changed files with 222 additions and 21 deletions

View file

@ -1127,6 +1127,7 @@ bool universe_post_init() {
// Initialize performance counters for metaspaces
MetaspaceCounters::initialize_performance_counters();
MemoryService::add_metaspace_memory_pools();
GC_locker::unlock(); // allow gc after bootstrapping