]
Dan Berindei updated ISPN-2466:
-------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
Fix integrated in master.
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: