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

LinkedBlockingQueue spliterator needs to support node self-linking

    XMLWordPrintable

Details

    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

              martin Martin Buchholz
              martin Martin Buchholz
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: