[infinispan-issues] [JBoss JIRA] (ISPN-2466) Repeated unlocking causes errors with reference counting
Manik Surtani (JIRA)
jira-events at lists.jboss.org
Fri Nov 2 08:45:18 EDT 2012
[ https://issues.jboss.org/browse/ISPN-2466?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Manik Surtani updated ISPN-2466:
--------------------------------
Summary: Repeated unlocking causes errors with reference counting (was: Unlock called twice doesn't behave correctly)
> Repeated unlocking causes errors with reference counting
> --------------------------------------------------------
>
> 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:
> {quote}
> When the lock is acquired after the first unlock, the second unlock fails with an {{IllegalMonitorStateException}} in {{OwnableReentrantLock.tryAcquire(...)}}, but the reference count is still decremented in {{AbstractPerEntryLockContainer.releaseLock(...)}}. This results in further {{IllegalStateException: Negative reference count for lock}}.
> {quote}
> 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