]
Manik Surtani closed JBCACHE-826.
---------------------------------
Resolution: Done
Assignee: Manik Surtani (was: Brian Stansberry)
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: Manik Surtani
Priority: Minor
Fix For: 1.4.1.SP3
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: