[infinispan-issues] [JBoss JIRA] (ISPN-2466) Unlock called twice doesn't behave correctly

Mircea Markus (JIRA) jira-events at lists.jboss.org
Thu Nov 1 16:34:18 EDT 2012


     [ https://issues.jboss.org/browse/ISPN-2466?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mircea Markus updated ISPN-2466:
--------------------------------

    Priority: Critical  (was: Major)

    
> Unlock called twice doesn't behave correctly
> --------------------------------------------
>
>                 Key: ISPN-2466
>                 URL: https://issues.jboss.org/browse/ISPN-2466
>             Project: Infinispan
>          Issue Type: Feature Request
>          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