You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Vladimir Ozerov (JIRA)" <ji...@apache.org> on 2015/12/24 15:56:49 UTC
[jira] [Created] (IGNITE-2264) Optimize GridDistributedTxMapping.
Vladimir Ozerov created IGNITE-2264:
---------------------------------------
Summary: Optimize GridDistributedTxMapping.
Key: IGNITE-2264
URL: https://issues.apache.org/jira/browse/IGNITE-2264
Project: Ignite
Issue Type: Sub-task
Components: cache
Affects Versions: ignite-1.4
Reporter: Vladimir Ozerov
Assignee: Vladimir Ozerov
Priority: Critical
Fix For: 1.6
This class has two methods: reads() and writes(). Together they return the whole set of entries.
The problem is that each call creates collection wrapper over entries + 1 additional iterator per each traverse over collection. This seen as a garbage "hotspot" in flight recorder.
Actually there is no need for these methods. Instead, we can pass entries collection directly and filter entries manually.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)