[ 
https://issues.apache.org/jira/browse/ARTEMIS-2015?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16573669#comment-16573669
 ] 

ASF subversion and git services commented on ARTEMIS-2015:
----------------------------------------------------------

Commit 9f7afab73cffcc273d58dd37b2ba1c75dfd9c56d in activemq-artemis's branch 
refs/heads/2.6.x from [[email protected]]
[ https://git-wip-us.apache.org/repos/asf?p=activemq-artemis.git;h=9f7afab ]

ARTEMIS-2015 PriorityLinkedListImpl::isEmpty is not thread-safe

PriorityLinkedListImpl::size access is changed to be safely
observable by a thread different from the one allowed to write
the list.

(cherry picked from commit 64cf5357e1a88d98b4e2c3569bb10d489f55e404)


> PriorityLinkedListImpl::isEmpty is not thread-safe
> --------------------------------------------------
>
>                 Key: ARTEMIS-2015
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-2015
>             Project: ActiveMQ Artemis
>          Issue Type: Improvement
>          Components: Broker
>            Reporter: Francesco Nigro
>            Assignee: Francesco Nigro
>            Priority: Minor
>
> PriorityLinkedListImpl::isEmpty depends on the size property that isn't 
> updated in a way to have it concurrently visible to other threads.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to