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

(ref) Reference.clear during reference processing may lose notification

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2
    • 16
    • 16
    • hotspot
    • gc
    • b26
    • Verified

    Description

      If we have a jlr.Reference with an associated queue, and clear() is called on that reference during concurrent reference processing, the reference may not be notified. This is a detectable difference from STW reference processing, where if the reference is cleared by the GC it will always be notified.

      Attachments

        Issue Links

          Activity

            People

              kbarrett Kim Barrett
              kbarrett Kim Barrett
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: