gemmellr opened a new pull request, #4603:
URL: https://github.com/apache/activemq-artemis/pull/4603

   The insert + remove methods in AbstractJournalStorageManager that can be 
used by the connection router LocalCache are not thread safe. They operate on a 
'parent' ConcurrentHashMap, but entries within it are regular HashMap values 
and so are not thread safe despite potentially being used concurrently.
   
   Switch the sub-maps to ConcurrentHashMap accordingly and also reuse some 
identical insertion code to simplify. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to