8000754: NPG: Implement a MemoryPool MXBean for Metaspace

Reviewed-by: jmasa, stefank
This commit is contained in:
Erik Helin 2013-03-22 16:10:01 +01:00
parent 0268771fc4
commit 902be4665b
9 changed files with 177 additions and 7 deletions

View file

@ -1108,6 +1108,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