[jboss-jira] [JBoss JIRA] Updated: (JBCACHE-826) RegionManager region map should be ConcurrentReaderHashMap
Brian Stansberry (JIRA)
jira-events at jboss.com
Tue Jan 9 14:54:27 EST 2007
[ http://jira.jboss.com/jira/browse/JBCACHE-826?page=all ]
Brian Stansberry updated JBCACHE-826:
-------------------------------------
Fix Version/s: (was: 2.0.0.GA)
Changing the Fix Version to unknown. The new region manager stuff in HEAD uses ConcurrentHashMap; I'll add a 1.4.2 fix version to this issue if we decide to do a 1.4.2; otherwise I'll close it as Out of Date.
> RegionManager region map should be ConcurrentReaderHashMap
> ----------------------------------------------------------
>
> Key: JBCACHE-826
> URL: http://jira.jboss.com/jira/browse/JBCACHE-826
> Project: JBoss Cache
> Issue Type: Task
> Security Level: Public(Everyone can see)
> Reporter: Brian Stansberry
> Assigned To: Brian Stansberry
> Priority: Minor
>
> The regionMap in o.j.c.eviction.RegionManager is a Collections.synchronizedMap. This should be a ConcurrentReaderHashMap. If eviction is used, for every call the EvictionInterceptor makes a call that ends up doing a lookup in this map, so the synchronization becomes a choke point.
> I already made this change in HEAD along with some refactoring work on eviction configuration.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list