< prev index next >

src/share/vm/services/memoryManager.hpp

Print this page

        

@@ -63,11 +63,13 @@
     ParNew,
     ConcurrentMarkSweep,
     PSScavenge,
     PSMarkSweep,
     G1YoungGen,
-    G1OldGen
+    G1OldGen,
+    ShenandoahCycles,
+    ShenandoahPauses
   };
 
   MemoryManager();
 
   int num_memory_pools() const           { return _num_pools; }

@@ -97,11 +99,12 @@
   static GCMemoryManager* get_cms_memory_manager();
   static GCMemoryManager* get_psScavenge_memory_manager();
   static GCMemoryManager* get_psMarkSweep_memory_manager();
   static GCMemoryManager* get_g1YoungGen_memory_manager();
   static GCMemoryManager* get_g1OldGen_memory_manager();
-
+  static GCMemoryManager* get_shenandoah_cycles_memory_manager();
+  static GCMemoryManager* get_shenandoah_pauses_memory_manager();
 };
 
 class CodeCacheMemoryManager : public MemoryManager {
 private:
 public:

@@ -294,6 +297,21 @@
 
   MemoryManager::Name kind() { return MemoryManager::G1OldGen; }
   const char* name()         { return "G1 Old Generation"; }
 };
 
+class ShenandoahCyclesMemoryManager : public GCMemoryManager {
+public:
+  ShenandoahCyclesMemoryManager() : GCMemoryManager() {}
+
+  MemoryManager::Name kind() { return MemoryManager::ShenandoahCycles; }
+  const char* name()         { return "Shenandoah Cycles"; }
+};
+
+class ShenandoahPausesMemoryManager : public GCMemoryManager {
+public:
+  ShenandoahPausesMemoryManager() : GCMemoryManager() {}
+
+  MemoryManager::Name kind() { return MemoryManager::ShenandoahPauses; }
+  const char* name()         { return "Shenandoah Pauses"; }
+};
 #endif // SHARE_VM_SERVICES_MEMORYMANAGER_HPP
< prev index next >