[jboss-jira] [JBoss JIRA] (JGRP-1987) TransferQueueBundler: use ring buffer rather than linked queue

Bela Ban (JIRA) issues at jboss.org
Thu Dec 3 04:11:00 EST 2015


    [ https://issues.jboss.org/browse/JGRP-1987?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13136482#comment-13136482 ] 

Bela Ban commented on JGRP-1987:
--------------------------------

Changed that to an {{ArrayBlockingQueue}}, which is more or less a ring buffer

> TransferQueueBundler: use ring buffer rather than linked queue
> --------------------------------------------------------------
>
>                 Key: JGRP-1987
>                 URL: https://issues.jboss.org/browse/JGRP-1987
>             Project: JGroups
>          Issue Type: Enhancement
>            Reporter: Bela Ban
>            Assignee: Bela Ban
>             Fix For: 3.6.7
>
>
> {{LinkedBlockingQueue}} creates new entries for new elements, creating a steady memory churn. Use a fixed size array or ring buffer of {{capacity}} elements instead.
> Possibly a new bundler implementation, to be able to contrast it to the existing one for performance.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list