src/hotspot/share/gc/epsilon/epsilonHeap.hpp
branchepsilon-gc-branch
changeset 56276 ee5e58456be5
parent 55979 669f8c047c9c
child 56277 6f96c46be4e6
--- a/src/hotspot/share/gc/epsilon/epsilonHeap.hpp	Thu Feb 08 21:05:35 2018 +0100
+++ b/src/hotspot/share/gc/epsilon/epsilonHeap.hpp	Mon Mar 12 12:22:21 2018 +0100
@@ -35,6 +35,7 @@
 class EpsilonHeap : public CollectedHeap {
 private:
   EpsilonCollectorPolicy* _policy;
+  SoftRefPolicy _soft_ref_policy;
   EpsilonMonitoringSupport* _monitoring_support;
   MemoryPool* _pool;
   GCMemoryManager _memory_manager;
@@ -123,6 +124,10 @@
     return _policy;
   }
 
+  virtual SoftRefPolicy* soft_ref_policy() {
+    return &_soft_ref_policy;
+  }
+
   virtual void object_iterate(ObjectClosure *cl) {
     safe_object_iterate(cl);
   }