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

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


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

William Burns updated ISPN-7667:
--------------------------------
              Status: Pull Request Sent  (was: Open)
    Git Pull Request: https://github.com/infinispan/infinispan/pull/5014


> 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