]
Bela Ban commented on JGRP-758:
-------------------------------
Investigate using compare-and-swap instead of ReadWriteLocks. This affects
NakReceiverWindow and NAKACK
NakReceiverWindow: analyze concurrency between adding and removing of
messages
------------------------------------------------------------------------------
Key: JGRP-758
URL:
https://jira.jboss.org/jira/browse/JGRP-758
Project: JGroups
Issue Type: Task
Reporter: Bela Ban
Assignee: Bela Ban
Priority: Minor
Fix For: 2.7
In NALACK, we call NRW.add() and subsequently NRW.remove(). These 2 methods acquire a
NRW-internal lock, but the removal also acquires a lock by NRW.getLock() which is *not*
the same as the NRW-internal lock .
Tasks:
#1: make sure messages can be added and removed concurrently
#2: Analyze use of NRW.getLock() (still needed ?)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: