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

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

XMLWordPrintable

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

      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.

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

              Created:
              Updated:
              Resolved: