Since 'SoftRefPolicy' doesn't have any derived class, we can simply move '_soft_ref_policy' to 'CollectedHeap' and make 'CollectedHeap::soft_ref_policy' into a normal member function.
- relates to
-
JDK-8309616 GC should decide if it should clear soft references by itself
- Open
-
JDK-8309619 ZGC: 'zDriver.cpp::should_clear_soft_references' should be moved into a subclass of 'SoftRefPolicy'
- Open