[infinispan-issues] [JBoss JIRA] (ISPN-7667) Use ArrayDeque for transaction context iterator

William Burns (JIRA) issues at jboss.org
Thu Mar 23 10:08:02 EDT 2017


William Burns created ISPN-7667:
-----------------------------------

             Summary: Use ArrayDeque for transaction context iterator
                 Key: ISPN-7667
                 URL: https://issues.jboss.org/browse/ISPN-7667
             Project: Infinispan
          Issue Type: Bug
            Reporter: William Burns
             Fix For: 9.0.0.Final


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).



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the infinispan-issues mailing list