[
https://issues.apache.org/jira/browse/QPIDJMS-320?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16147340#comment-16147340
]
ASF subversion and git services commented on QPIDJMS-320:
---------------------------------------------------------
Commit 22c3358a5c0e9d29ef665786ffa6db5a6f351169 in qpid-jms's branch
refs/heads/master from [~gemmellr]
[ https://git-wip-us.apache.org/repos/asf?p=qpid-jms.git;h=22c3358 ]
QPIDJMS-320: wrap the parser cache to make it thread safe
> selector parser LRU cache isn't thread safe
> -------------------------------------------
>
> Key: QPIDJMS-320
> URL: https://issues.apache.org/jira/browse/QPIDJMS-320
> Project: Qpid JMS
> Issue Type: Bug
> Components: qpid-jms-client
> Affects Versions: 0.24.0
> Reporter: Robbie Gemmell
> Assignee: Robbie Gemmell
> Fix For: 0.25.0
>
>
> The selector parser has a small static LRU cache to avoid repeatedly parsing
> the same selector strings. Its use isn't thread safe currently, so concurrent
> updates to the cache could lead to failure to evict old entries and allow it
> to grow beyond the intended size.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]