]
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: