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.

        Issue Links

          Activity

          Hide
          hgupdate HG Updates added a comment -
          URL: http://hg.openjdk.java.net/jdk9/dev/jdk/rev/0e90257ab700
          User: martin
          Date: 2016-12-21 22:36:41 +0000
          Show
          hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk9/dev/jdk/rev/0e90257ab700 User: martin Date: 2016-12-21 22:36:41 +0000
          Hide
          hgupdate HG Updates added a comment -
          URL: http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/0e90257ab700
          User: lana
          Date: 2017-01-04 20:58:34 +0000
          Show
          hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/0e90257ab700 User: lana Date: 2017-01-04 20:58:34 +0000

            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: