Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-2185

AtomicHashMapProxy calls Cache.getCacheConfiguration() triggering legacy config adaptation.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 5.1.6.FINAL
    • 5.1.5.FINAL
    • Core

      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

            pferraro@redhat.com Paul Ferraro
            pferraro@redhat.com Paul Ferraro
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: