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

Manik Surtani (JIRA) jira-events at lists.jboss.org
Thu Jun 9 10:00:59 EDT 2011


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

Manik Surtani updated ISPN-1167:
--------------------------------

        Status: Resolved  (was: Pull Request Sent)
    Resolution: Done


> 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