[infinispan-issues] [JBoss JIRA] (ISPN-9579) The server does too many ConcurrentHashMap lookups to get the cache
Dan Berindei (Jira)
issues at jboss.org
Thu Oct 4 05:36:00 EDT 2018
Dan Berindei created ISPN-9579:
----------------------------------
Summary: 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
Fix For: 10.0.0.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.12.1#712002)
More information about the infinispan-issues
mailing list