[JBoss JIRA] (ISPN-8481) Lazily calculate hashCode for WrappedByteArray
by William Burns (JIRA)
William Burns created ISPN-8481:
-----------------------------------
Summary: Lazily calculate hashCode for WrappedByteArray
Key: ISPN-8481
URL: https://issues.jboss.org/browse/ISPN-8481
Project: Infinispan
Issue Type: Sub-task
Reporter: William Burns
Assignee: William Burns
We don't always use the hashCode for a WrappedByteArray. By always calculating it this adds additional cost, we should see if we can change this safely.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 2 months
[JBoss JIRA] (ISPN-8467) Memory Leak in the Rest server
by Gustavo Fernandes (JIRA)
[ https://issues.jboss.org/browse/ISPN-8467?page=com.atlassian.jira.plugin.... ]
Gustavo Fernandes updated ISPN-8467:
------------------------------------
Status: Pull Request Sent (was: Coding In Progress)
Git Pull Request: https://github.com/infinispan/infinispan/pull/5561
> Memory Leak in the Rest server
> ------------------------------
>
> Key: ISPN-8467
> URL: https://issues.jboss.org/browse/ISPN-8467
> Project: Infinispan
> Issue Type: Bug
> Components: Server
> Affects Versions: 9.2.0.Alpha2
> Reporter: Gustavo Fernandes
> Assignee: Gustavo Fernandes
>
> The Netty rest server upon each connection will install the {{Http20RequestHandler}} that in turn creates a new instance of {{CacheOperations}} and {{RestCacheManager}} objects.
> The {{RestCacheManager}} on every connection, among other things, will create hashmaps to keep cache instances, and will try to register every time a new {{RestSourceMigrator}} which gets accumulated in the {{RollingUpgradeManager}}.
> Those objects should be shared across all channels so that they can efficiently cache resources and avoid creating lots of garbage.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 2 months