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

Snapshot soft ref policy before marking/copying

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 18
    • 18
    • 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.

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

              Created:
              Updated:
              Resolved: