--- 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);
}