-
Enhancement
-
Resolution: Unresolved
-
P4
-
None
For Parallel, CollectedHeap::soft_ref_policy is usedly solely for clearing-soft-refs in _wb_full_gc. However, the decision to clear soft-refs is already taken care of inside `collect_at_safepoint`, which acts to the gc-cause of `_wb_full_gc`.
Therefore, all uses of `soft_ref_policy` inside Parallel can be removed.
Therefore, all uses of `soft_ref_policy` inside Parallel can be removed.
- links to
-
Review(master) openjdk/jdk/26496