[jbosscache-issues] [JBoss JIRA] Updated: (JBCACHE-1499) Race condition in RegionManager.createRegion

Dennis Reed (JIRA) jira-events at lists.jboss.org
Mon Mar 30 10:52:22 EDT 2009


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

Dennis Reed updated JBCACHE-1499:
---------------------------------

    Affects Version/s: 1.4.1.SP9
                           (was: 1.4.X)


> Race condition in RegionManager.createRegion
> --------------------------------------------
>
>                 Key: JBCACHE-1499
>                 URL: https://jira.jboss.org/jira/browse/JBCACHE-1499
>             Project: JBoss Cache
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Eviction
>    Affects Versions: 1.4.1.SP9
>            Reporter: Dennis Reed
>            Assignee: Manik Surtani
>
> There is a race condition in RegionManager.createRegion.
> If two calls to create a region with the same FQN come in at the same time, they may both succeed.
> The last one to be added will win in the RegionManager (stored in a ConcurrentHashMap), while the first will win in the EvictionTimerTask (stored in a HashSet).
> This will cause the Region to not be monitored for evictions, and allow the eviction queue to fill up.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbosscache-issues mailing list