Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-7667

Use ArrayDeque for transaction context iterator

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 9.0.0.Final
    • Component/s: None
    • Labels:
      None

      Description

      Transaction iterator stores entries from the context into a List. It then removes the first element from that as it processes those entries. This should use an ArrayDeque to have constant time removals (where as ArrayList needs to move entries to compensate removing from the front).

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                william.burns Will Burns
                Reporter:
                william.burns Will Burns
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: