[
https://issues.apache.org/jira/browse/ARTEMIS-2017?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Justin Bertram updated ARTEMIS-2017:
------------------------------------
Description: 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. (was:
Concurrent usage of {{SelectorParser.parse()}} can cause the {{cache}} to grow
past its hard-coded size of 100. Synchronizing {{put}} operations eliminates
this problem.)
> 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
>
>
> 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.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)