[
https://issues.apache.org/jira/browse/QPID-6791?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14958755#comment-14958755
]
ASF subversion and git services commented on QPID-6791:
-------------------------------------------------------
Commit 1708798 from [~lorenz.quack] in branch 'java/trunk'
[ https://svn.apache.org/r1708798 ]
QPID-6791: [Java Broker] Wrap WeakHashMap in synchronizedMap to avoid deadlock
Patch by Rob Godfrey
> Unsafe usage of WeakHashMap can cause the broker to dead lock
> -------------------------------------------------------------
>
> Key: QPID-6791
> URL: https://issues.apache.org/jira/browse/QPID-6791
> Project: Qpid
> Issue Type: Bug
> Components: Java Broker
> Affects Versions: 0.17, 0.32
> Reporter: Lorenz Quack
> Priority: Critical
> Fix For: qpid-java-6.0
>
>
> {{org.apache.qpid.server.security.access.config.RuleSet}} uses
> {{WeakHashMap}} in a multi-threaded environment. However, {{WeakHasMap}} is
> not thread-safe. This can cause the broker to dead lock.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]