[
https://jira.jboss.org/jira/browse/JGRP-1085?page=com.atlassian.jira.plug...
]
Bela Ban commented on JGRP-1085:
--------------------------------
Simply replcaing ReadWriteLocks with ReentrantLocks didn't yield better performance
with perf.Test.
However, one of the things we need to look at is whether we can move addition / removal
to/from Retransmitter out of the lock-scopes, e.g. in add() / remove().
A correct impl of removeMany() could also yield perf improvements
NakReceiverWindow: possibly replace ReadWriteLock
-------------------------------------------------
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