Snapshot soft ref policy before marking/copying

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 18
    • Affects Version/s: 18
    • Component/s: hotspot
    • None
    • gc
    • b05

      For users of `ReferenceProcessor`, set up the soft ref policy at the beginning of GC cycle, and use that policy across the whole GC cycle. IOW, the decision regarding clearing a soft ref will never give conflicting answers within a GC cycle. Therefore, the reconsideration of soft refs can be dropped (JDK-8051680).

      Shenandoah and Z don't use `ReferenceProcessor`, but both set up the soft ref policy before marking.

            Assignee:
            Albert Yang
            Reporter:
            Albert Yang
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: