[infinispan-issues] [JBoss JIRA] (ISPN-2466) Unlock called twice doesn't behave correctly
Radim Vansa (JIRA)
jira-events at lists.jboss.org
Fri Nov 2 05:07:18 EDT 2012
[ https://issues.jboss.org/browse/ISPN-2466?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Radim Vansa updated ISPN-2466:
------------------------------
Issue Type: Bug (was: Feature Request)
> Unlock called twice doesn't behave correctly
> --------------------------------------------
>
> Key: ISPN-2466
> URL: https://issues.jboss.org/browse/ISPN-2466
> Project: Infinispan
> Issue Type: Bug
> Components: Locking and Concurrency
> Affects Versions: 5.2.0.Beta3
> Reporter: Mircea Markus
> Assignee: Manik Surtani
> Priority: Critical
> Fix For: 5.2.0.CR1
>
>
> Taken from ISPN-2458:
> <snip>
> When the lock is acquired after the first unlock, the second unlock fails with IllegalMonitorStateException in OwnableReentrantLock.tryAcquire(...), but the reference count is still decremented in AbstractPerEntryLockContainer.releaseLock(...). This results in further IllegalStateException: Negative reference count for lock.
> </snip>
> Even if the ISE occurs, the lock counter should not be affected.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the infinispan-issues
mailing list