]
Krzysztof Sobolewski updated JBCACHE-1498:
------------------------------------------
Attachment: fair-locking.patch
Patch implementing fair locking.
Option for fair locking in MVCC
-------------------------------
Key: JBCACHE-1498
URL:
https://jira.jboss.org/jira/browse/JBCACHE-1498
Project: JBoss Cache
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Components: Locking
Affects Versions: 3.0.3.GA
Reporter: Krzysztof Sobolewski
Assignee: Manik Surtani
Attachments: fair-locking.patch
The javadoc for OwnableReentrantLock says:
* For the sake of performance, this lock only supports nonfair queueing.
Well, I understand the sentiment, but starvation can be quite a problem with nonfair
locking. So I implemented an option to swith to fair locking (patch attached).
Please review :)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: