[infinispan-issues] [JBoss JIRA] (ISPN-6511) Allocate less memory during RPC response handling
Galder Zamarreño (JIRA)
issues at jboss.org
Tue Apr 19 07:17:00 EDT 2016
[ https://issues.jboss.org/browse/ISPN-6511?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Galder Zamarreño updated ISPN-6511:
-----------------------------------
Git Pull Request: https://github.com/infinispan/infinispan/pull/4250
> Allocate less memory during RPC response handling
> -------------------------------------------------
>
> Key: ISPN-6511
> URL: https://issues.jboss.org/browse/ISPN-6511
> Project: Infinispan
> Issue Type: Task
> Components: Core
> Affects Versions: 8.2.1.Final, 9.0.0.Alpha1
> Reporter: Dan Berindei
> Assignee: Dan Berindei
> Fix For: 9.0.0.Alpha2, 9.0.0.Final
>
>
> For broadcasts/anycasts, the {{JGroupsTransport.invokeRemotelyAsync()}} responses {{HashMap}} is created with the wrong initial capacity ({{recipients.size()}} instead of ({{recipients.size()/DEFAULT_LOAD_FACTOR}}, and it needs a resize to fit all the responses.
> Clustered get commands shouldn't have the problem because usually there is only one valid response. However, we actually a {{CacheNotFoundResponse}} for all the owners that we didn't request the entry from, triggering the resize.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the infinispan-issues
mailing list