[
https://issues.apache.org/jira/browse/IGNITE-15781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17446366#comment-17446366
]
Nikolay Izhikov commented on IGNITE-15781:
------------------------------------------
Cherry-picked to 2.12
> 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
> Affects Versions: 2.11
> Reporter: Maksim Timonin
> Assignee: Maksim Timonin
> Priority: Major
> Time Spent: 40m
> Remaining Estimate: 0h
>
> 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.20.1#820001)