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

LinkedBlockingDeque 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

      LinkedBlockingDeque Nodes can be self-linked while still in use, in which case traversers must reset iteration to queue.first. But the spliterator is written without that awareness, leading to infloops in case of concurrent access.

        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: