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

ReferencePendingListLocker incorrectly assumes that the lock is never taken recursively

XMLWordPrintable

    • gc
    • b115
    • Verified

      The ReferencePendingListLocker asserts that the pending list lock is never taken recursively. This is incorrect, as it can be taken by a GC operation initiated by the ReferenceHandler thread, which might already own the lock. The asserts were added as part of JDK-8151601 in an attempt to strengthen the code, but they are incorrect and should be removed.

            pliden Per Liden (Inactive)
            pliden Per Liden (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: