[jbossts-issues] [JBoss JIRA] (JBTM-2209) Use Deque for ThreadActionData
Jesper Pedersen (JIRA)
issues at jboss.org
Tue Jul 8 10:59:24 EDT 2014
[ https://issues.jboss.org/browse/JBTM-2209?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12983177#comment-12983177 ]
Jesper Pedersen commented on JBTM-2209:
---------------------------------------
ArrayListDeque is an unsynchronized Deque implementation, whereas Stack is synchronized. So, unless multiple thread access occurs without any other synchronization ArrayListDeque should be used
> Use Deque for ThreadActionData
> ------------------------------
>
> Key: JBTM-2209
> URL: https://issues.jboss.org/browse/JBTM-2209
> Project: JBoss Transaction Manager
> Issue Type: Sub-task
> Security Level: Public(Everyone can see)
> Components: Transaction Core
> Reporter: Jesper Pedersen
> Assignee: Michael Musgrove
>
> Note, there are other usages of java.util.Stack in the code base that could be changed as well
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
More information about the jbossts-issues
mailing list