Uploaded image for project: 'Pivot'
  1. Pivot
  2. PIVOT-264

Concurrent modification check in ArrayList is too naive

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.3
    • Fix Version/s: 1.3
    • Component/s: core-collections
    • Labels:
      None

      Description

      The current logic is not sufficient to detect item updates, only length changes. ArrayList needs to maintain a modificationCount variable that tracks all changes. This applies to LinkedList as well, which currently performs no concurrent modification checks.

        Attachments

          Activity

            People

            • Assignee:
              gbrown Gregory K. Brown
              Reporter:
              gbrown Gregory K. Brown
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: