[
https://jira.jboss.org/jira/browse/JBCACHE-1536?page=com.atlassian.jira.p...
]
Brian Stansberry reassigned JBCACHE-1536:
-----------------------------------------
Assignee: Manik Surtani (was: Brian Stansberry)
Manik, passing this one to you.
Improve efficiency of RegionManagerImpl.getRegion
-------------------------------------------------
Key: JBCACHE-1536
URL:
https://jira.jboss.org/jira/browse/JBCACHE-1536
Project: JBoss Cache
Issue Type: Task
Security Level: Public(Everyone can see)
Components: Eviction
Affects Versions: 3.2.0.GA
Reporter: Brian Stansberry
Assignee: Manik Surtani
Fix For: 3.3.0.GA
A profiling run showed almost 37 ms for 22 invocations.
Fqns were
/SFSB/container-name/bucketInt/sessionId
Region names were /SFSBcontainer-name
The trick in JBC 1.x (I believe by genman) of tracking the max length of registered
regions and starting searches at that depth should be restored. The lookups also do
this:
if (regionsRegistry.containsKey(fqnToUse))
{
Region r = regionsRegistry.get(fqnToUse);
which means 2 searches per request.
--
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