Excessive Allocations in shutdown()

60 views
Skip to first unread message

Joshua Hight

unread,
Jul 20, 2019, 3:22:17 PM7/20/19
to Disruptor
Hi All,
I'm using Disruptor for a project and while profiling my project I noticed that there are quite a lot of allocations in shutdown as a result of using ArrayList.addAll in getLastSequenceInChain to concatenate all the arrays generated by calls to getSequences. I've written up a somewhat more efficient approach (https://github.com/LMAX-Exchange/disruptor/compare/master...joshbooks:master) and after testing and profiling I think it's a better approach to this problem. I'd love to know if there are any contributing guidelines for drafting PRs/issues that I should follow.

Best,
Josh
Reply all
Reply to author
Forward
0 new messages