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

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

Commit b9a85bdaa52ef6cdc764278aad19e96a427d59de in activemq-artemis's branch 
refs/heads/2.6.x from [~jbertram]
[ https://git-wip-us.apache.org/repos/asf?p=activemq-artemis.git;h=b9a85bd ]

ARTEMIS-2017 Eliminate LRUCache from SelectorParser

The LRUCache is not thread-safe and it's usage in SelectorParser could
cause growth beyond its configured max size. Instead of modifying the
LRUCache to be thread-safe or synchronizing access to it in
SelectorParser it should just be removed since it's not on a hot path.

(cherry picked from commit 2d7c5322a79e0ffa45676e50f3453d5530af78c2)


> Eliminate LRUCache from SelectorParser
> --------------------------------------
>
>                 Key: ARTEMIS-2017
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-2017
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>    Affects Versions: 2.6.2
>            Reporter: Justin Bertram
>            Assignee: Justin Bertram
>            Priority: Major
>             Fix For: 2.7.0, 2.6.3
>
>
> Concurrent usage of {{SelectorParser.parse()}} can cause the {{cache}} to 
> grow past its hard-coded size of 100.  Synchronizing {{put}} operations 
> eliminates this problem.



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

Reply via email to