activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevin Burton <bur...@spinn3r.com>
Subject Using chronicle map to store off heap data easily
Date Fri, 20 Mar 2015 06:16:43 GMT
This is interesting.

Right now AMQ5 uses ConcurrentHashMap and for large heaps this has some
obvious GC issues.

1.  You have to keep a LARGE % of the JVM memory free for large GCs.

2.  All the objects pool into the old generation screwing up GC and wasting
cycles for every GC.

Then there’s this.

http://www.javacodegeeks.com/2015/03/creating-millions-of-objects-with-zero-garbage.html
http://openhft.github.io/Chronicle-Map/apidocs/net/openhft/chronicle/map/ChronicleMapBuilder.html

This should allow a drop in replacement for CHMs with off-heap memory.

-- 

Founder/CEO Spinn3r.com
Location: *San Francisco, CA*
blog: http://burtonator.wordpress.com
… or check out my Google+ profile
<https://plus.google.com/102718274791889610666/posts>
<http://spinn3r.com>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message