[infinispan-issues] [JBoss JIRA] (ISPN-2191) Defaultcachemanager.getCache(name) is slow

Dominik Obermaier (JIRA) jira-events at lists.jboss.org
Fri Aug 10 12:17:06 EDT 2012


Dominik Obermaier created ISPN-2191:
---------------------------------------

             Summary: Defaultcachemanager.getCache(name) is slow
                 Key: ISPN-2191
                 URL: https://issues.jboss.org/browse/ISPN-2191
             Project: Infinispan
          Issue Type: Enhancement
    Affects Versions: 5.1.5.FINAL
            Reporter: Dominik Obermaier
            Assignee: Manik Surtani
            Priority: Minor


With the help of JVisualVM I found out, that 63% cpu time of the application was needed in org.infinispan.loaders.file.FileCacheStore.lodaBucket and 25% in org.infinispan.DefaultCacheManager$Cachewrapper.getCache.

The workaround is to share one instance of the cache for all classes, so a getCache("name) can be avoided.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the infinispan-issues mailing list