Re:A Well Known but Forgotten Trick: Object Pooling
by vitalyd on Wednesday July 29, 2015 @07:22PM
(#9972300)
While it does avoid GC, it's mostly a faster way to share data between threads than the builtin concurrent collections.
Re:A Well Known but Forgotten Trick: Object Pooling
by nemesisrobot on Wednesday July 29, 2015 @08:19PM
(#9972551)
Yep, that's what Disruptor is for. Here's a blog post by one of the devs giving more details about the ring buffer where she specifically mentions that objects are pooled to avoid the GC http://mechanitis.blogspot.com/2011/06/dissecting-disruptor-...
[0]: https://github.com/LMAX-Exchange/disruptor