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

Bela Ban (JIRA) jira-events at lists.jboss.org
Wed Aug 4 06:39:43 EDT 2010


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

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

When a sender P sends a message, it calls NakReceiverWindow.add() which acquires the lock to add the message to the table. When the same message is received, NakReceiverWindow.removeMany() tries to acquire the same lock to remove and deliver the message to P, however, this is done on a different thread (from the thread pool). We need to avoid that blocking of P by the send and deliver method competing for the same lock.

> NakReceiverWindow: make non blocking
> ------------------------------------
>
>                 Key: JGRP-1133
>                 URL: https://jira.jboss.org/browse/JGRP-1133
>             Project: JGroups
>          Issue Type: Task
>            Reporter: Bela Ban
>            Assignee: Bela Ban
>             Fix For: 2.11
>
>
> Remove the read/write locks and use ConcurrentHashMap to make adds and removes concurrent

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list