Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8364166

Parallel: Remove the use of soft_ref_policy in Full GC

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • None
    • hotspot
    • gc

      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.

            ayang Albert Yang
            ayang Albert Yang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: