diff 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
line wrap: on
line diff
--- a/src/share/vm/memory/universe.cpp	Tue Jun 25 15:17:11 2013 -0700
+++ b/src/share/vm/memory/universe.cpp	Wed Jun 26 16:58:37 2013 +0200
@@ -1127,6 +1127,7 @@
 
   // Initialize performance counters for metaspaces
   MetaspaceCounters::initialize_performance_counters();
+  MemoryService::add_metaspace_memory_pools();
 
   GC_locker::unlock();  // allow gc after bootstrapping