Details
Description
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.