[infinispan-issues] [JBoss JIRA] (ISPN-9579) The server does too many ConcurrentHashMap lookups to get the cache

Tristan Tarrant (Jira) issues at jboss.org
Sun Oct 27 16:09:16 EDT 2019


     [ https://issues.jboss.org/browse/ISPN-9579?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tristan Tarrant updated ISPN-9579:
----------------------------------
    Fix Version/s: 10.0.1.Final
                       (was: 10.0.0.Final)


> The server does too many ConcurrentHashMap lookups to get the cache
> -------------------------------------------------------------------
>
>                 Key: ISPN-9579
>                 URL: https://issues.jboss.org/browse/ISPN-9579
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Server
>    Affects Versions: 9.4.0.CR3
>            Reporter: Dan Berindei
>            Assignee: Gustavo Fernandes
>            Priority: Major
>             Fix For: 10.0.1.Final
>
>
> Got a profiler snapshot while investigating ISPN-9198, and there are a lot of map lookups just to find the cache with the right flags and make sure it's not ignored.
> ||Stack Trace||Sample Count||Percentage(%)||
> |org.infinispan.server.hotrod.CacheRequestProcessor.get(HotRodHeader, Subject, byte[])|6,554|41.615|
> |+org.infinispan.server.hotrod.CacheRequestProcessor.handleGet(HotRodHeader, CacheEntry, Throwable)|2,659|16.884|
> |+org.infinispan.cache.impl.AbstractDelegatingAdvancedCache.getCacheEntry(Object)|2,569|16.312|
> |+org.infinispan.server.hotrod.HotRodServer.cache(HotRodHeader, Subject)|793|5.035|
> |+org.infinispan.server.hotrod.HotRodServer.cache(HotRodHeader, Subject, String)|793|5.035|
> |++java.util.concurrent.ConcurrentHashMap.get(Object)|349|2.216|
> |++org.infinispan.server.hotrod.HotRodServer.getCacheConfiguration(String)|203|1.289|
> |++org.infinispan.server.hotrod.HotRodHeader.getOptimizedCache(AdvancedCache, Configuration)|152|0.965|
> |++org.infinispan.server.core.AbstractCacheIgnoreAware.isCacheIgnored(String)|88|0.559|
> |+org.infinispan.server.hotrod.HotRodServer.getCacheInfo(AdvancedCache, HotRodHeader)|516|3.276|



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the infinispan-issues mailing list