activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher L. Shannon (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMQ-6251) Queue resetNeeded field should be volatile
Date Thu, 14 Apr 2016 18:22:25 GMT

     [ https://issues.apache.org/jira/browse/AMQ-6251?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Christopher L. Shannon updated AMQ-6251:
----------------------------------------
    Assignee:     (was: Christopher L. Shannon)

> Queue resetNeeded field should be volatile
> ------------------------------------------
>
>                 Key: AMQ-6251
>                 URL: https://issues.apache.org/jira/browse/AMQ-6251
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.9.1, 5.13.2
>            Reporter: james
>            Priority: Minor
>
> The Queue.resetNeeded field should be volatile due to the fact that it is exposed outside
of any additional synchronization (via the Queue.isResetNeeded() method).  without the volatile
modifier, the flag could be set but not recognized by any external code checking it.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message