[jboss-jira] [JBoss JIRA] Commented: (JGRP-1133) NakReceiverWindow: make faster

Bela Ban (JIRA) jira-events at lists.jboss.org
Wed Dec 22 11:40:18 EST 2010


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

Bela Ban commented on JGRP-1133:
--------------------------------

The other downside of a HashMap is that it only grows in size, but never shrinks. RetransmitTable does shrink (through compact()).
Correction: HashMap doesn't do a linear walk through the bucket list, but instead creates many buckets, e.g. adding 10000 integer keys to a hashmap generates 16'000 buckets !

> NakReceiverWindow: make faster
> ------------------------------
>
>                 Key: JGRP-1133
>                 URL: https://issues.jboss.org/browse/JGRP-1133
>             Project: JGroups
>          Issue Type: Task
>            Reporter: Bela Ban
>            Assignee: Bela Ban
>             Fix For: 2.12
>
>
> JProfiler shows that NRW is a bit of a locking hotspot

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list