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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 16
    • Fix Version/s: 16
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
      gc
    • Resolved In Build:
      b26
    • Verification:
      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

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

                Dates

                Created:
                Updated:
                Resolved: