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

Ryan Emerson (JIRA) issues at jboss.org
Fri Mar 24 09:02:01 EDT 2017


     [ https://issues.jboss.org/browse/ISPN-7667?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ryan Emerson resolved ISPN-7667.
--------------------------------
    Resolution: Done


> 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
>            Assignee: 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