[infinispan-issues] [JBoss JIRA] (ISPN-6485) JGroupsTransport.lambda$invokeRemotelyAsync$1 seems to trigger resizes of HashMap
Dan Berindei (Jira)
issues at jboss.org
Fri Jan 24 12:08:30 EST 2020
[ https://issues.redhat.com/browse/ISPN-6485?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dan Berindei resolved ISPN-6485.
--------------------------------
Fix Version/s: 9.1.0.Final
Resolution: Done
Fixed with ISPN-6971.
{{JGroupsTransport.backupRemotely()}} still uses the number of targets as the map capacity instead of rounding up with {{CollectionFactory.computeCapacity()}}, but sync xsite is on its way out anyway.
> JGroupsTransport.lambda$invokeRemotelyAsync$1 seems to trigger resizes of HashMap
> ---------------------------------------------------------------------------------
>
> Key: ISPN-6485
> URL: https://issues.redhat.com/browse/ISPN-6485
> Project: Infinispan
> Issue Type: Enhancement
> Components: Core
> Reporter: Sanne GRINOVERO
> Assignee: Dan Berindei
> Priority: Minor
> Fix For: 9.1.0.Final
>
>
> The resize of an {{HashMap}} is highlighted by the JFR profiler in this method, it's possible that this is very simple to fix by simply creating the Map with a better estimate.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
More information about the infinispan-issues
mailing list