You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Francesco Nigro (JIRA)" <ji...@apache.org> on 2017/01/02 14:48:58 UTC
[jira] [Created] (ARTEMIS-905) JCtools ConcurrentMap replacement
Francesco Nigro created ARTEMIS-905:
---------------------------------------
Summary: JCtools ConcurrentMap replacement
Key: ARTEMIS-905
URL: https://issues.apache.org/jira/browse/ARTEMIS-905
Project: ActiveMQ Artemis
Issue Type: Improvement
Reporter: Francesco Nigro
The OSS project JCTools (already used in Netty core) provides primitive (long) and normal implementations of ConcurrentMap with better scalability, lower memory footprint (garbage collector wise too) and equals to better performances than the vanilla's ConcurrentHashMap.
It worth to replace every ConcurrentHashMap usage with the JCtools version.
[Here|http://www.azulsystems.com/blog/cliff/2007-03-26-non-blocking-hashtable] there is an old but valid overview of the map and on JCtools are provided [JMH benchmarks|https://github.com/JCTools/JCTools/blob/master/jctools-benchmarks/src/main/java/org/jctools/maps/nhbm_test/jmh/ConcurrentMapThroughput.java] to evaluate the performance of the implementation.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)