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

Snapshot soft ref policy before marking/copying

    XMLWordPrintable

Details

    • Enhancement
    • Status: Resolved
    • P4
    • Resolution: Fixed
    • 18
    • 18
    • hotspot
    • None
    • gc
    • b05

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: