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

LinkedBlockingQueue spliterator needs to support node self-linking

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 9
    • Component/s: core-libs
    • Labels:
      None

      Description

      We already fixed
      JDK-8169739 LinkedBlockingDeque spliterator needs to support node self-linking

      but LinkedBlockingQueue has a very similar spliterator and both collections have nodes that may become self-linked during iteration, so both implementations need to be kept in sync. We have a shiny new test testElementRemovalDuringTraversal to reproduce an infloop chasing a self-link.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                martin Martin Buchholz
                Reporter:
                martin Martin Buchholz
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: