[infinispan-issues] [JBoss JIRA] Created: (ISPN-1167) Eviction acquires locks even if it doesn't need them

Sanne Grinovero (JIRA) jira-events at lists.jboss.org
Wed Jun 8 11:55:59 EDT 2011


Eviction acquires locks even if it doesn't need them
----------------------------------------------------

                 Key: ISPN-1167
                 URL: https://issues.jboss.org/browse/ISPN-1167
             Project: Infinispan
          Issue Type: Enhancement
          Components: Locking and Concurrency
            Reporter: Sanne Grinovero
            Assignee: Sanne Grinovero
             Fix For: 5.0.0.CR5


EvictionManagerImpl has this patterns:
1- acquire the lock
2- see if you need to store the entry
3- release the lock

while in most configurations he will find out that 2 is not going to store the entity, so it is acquiring the lock to release it.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the infinispan-issues mailing list