[jboss-jira] [JBoss JIRA] Commented: (JGRP-1085) NakReceiverWindow: possibly replace ReadWriteLock and other optimizations

Bela Ban (JIRA) jira-events at lists.jboss.org
Sat Oct 31 02:39:05 EDT 2009


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

Bela Ban commented on JGRP-1085:
--------------------------------

Further optimization in NAKACK:
- When sending a message in down(), we always grab the NakReceiverWindow for local_addr
- A ref to the window can be cached, so we can eliminate the Map.get(local_addr) altogether

> NakReceiverWindow: possibly replace ReadWriteLock and other optimizations
> -------------------------------------------------------------------------
>
>                 Key: JGRP-1085
>                 URL: https://jira.jboss.org/jira/browse/JGRP-1085
>             Project: JGroups
>          Issue Type: Task
>            Reporter: Bela Ban
>            Priority: Minor
>             Fix For: 2.9
>
>
> Take a look at performance of RW locks, [1] suggests it is bad and writer threads get starved by many reader threads.
> [1] http://www.javaspecialists.eu/archive/Issue165.html

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

        



More information about the jboss-jira mailing list