You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Maksim Timonin (Jira)" <ji...@apache.org> on 2021/10/22 09:22:00 UTC

[jira] [Updated] (IGNITE-15781) CacheGroupMetrics spams to heap with java.lang.Integer

     [ https://issues.apache.org/jira/browse/IGNITE-15781?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Maksim Timonin updated IGNITE-15781:
------------------------------------
    Issue Type: Bug  (was: Task)

> CacheGroupMetrics spams to heap with java.lang.Integer
> ------------------------------------------------------
>
>                 Key: IGNITE-15781
>                 URL: https://issues.apache.org/jira/browse/IGNITE-15781
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Maksim Timonin
>            Assignee: Maksim Timonin
>            Priority: Major
>
> Check GridDhtPartitionMap.get() and similar methods that expect Integer, but CacheMetrics uses prmitive types. Autoboxing pollutes heap much if metrics asks frequently.
>  
> Metrics to check: getMinimumNumberOfPartitionCopies()
> this metrics iterates over all nodes and partitions and invokes get(int) on every iteration.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)