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

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


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

Sanne Grinovero updated ISPN-1167:
----------------------------------

              Status: Pull Request Sent  (was: Open)
    Git Pull Request: https://github.com/infinispan/infinispan/pull/367


> 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