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)

Reply via email to