[infinispan-issues] [JBoss JIRA] (ISPN-2185) AtomicHashMapProxy calls Cache.getCacheConfiguration() triggering legacy config adaptation.

Paul Ferraro (JIRA) jira-events at lists.jboss.org
Sun Aug 5 15:05:06 EDT 2012


Paul Ferraro created ISPN-2185:
----------------------------------

             Summary: AtomicHashMapProxy calls Cache.getCacheConfiguration() triggering legacy config adaptation.
                 Key: ISPN-2185
                 URL: https://issues.jboss.org/browse/ISPN-2185
             Project: Infinispan
          Issue Type: Bug
          Components: Core API
    Affects Versions: 5.1.5.FINAL
            Reporter: Paul Ferraro
            Assignee: Paul Ferraro
            Priority: Critical
             Fix For: 5.1.6.FINAL (JDG)


The following commit:
https://github.com/infinispan/infinispan/commit/672e91fab76c882498c24f5bf87d43b1c7654af5

adds a call to Cache.getCacheConfiguration().  In 5.1.x, this triggers a call to LegacyConfigurationAdaptor.adapt(...).  In AS7, this has a consequence of:
* a performance penalty per new cache entry (we use an atomic map per session)
* an INFO log message containing a warning about the eviction configuration

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