hotspot/src/share/vm/services/memoryService.hpp
changeset 16451 2f68393e1bef
parent 13728 882756847a04
child 16453 6009860b0b1e
--- a/hotspot/src/share/vm/services/memoryService.hpp	Wed Mar 20 12:27:03 2013 -0700
+++ b/hotspot/src/share/vm/services/memoryService.hpp	Fri Mar 22 16:10:01 2013 +0100
@@ -73,6 +73,10 @@
   // Code heap memory pool
   static MemoryPool*                    _code_heap_pool;
 
+  // Metaspace pools
+  static MemoryPool*                    _metaspace_pool;
+  static MemoryPool*                    _class_metaspace_pool;
+
   static void add_generation_memory_pool(Generation* gen,
                                          MemoryManager* major_mgr,
                                          MemoryManager* minor_mgr);
@@ -121,6 +125,7 @@
 public:
   static void set_universe_heap(CollectedHeap* heap);
   static void add_code_heap_memory_pool(CodeHeap* heap);
+  static void add_metaspace_memory_pools();
 
   static MemoryPool*    get_memory_pool(instanceHandle pool);
   static MemoryManager* get_memory_manager(instanceHandle mgr);