ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vladimir Ozerov (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-2264) Optimize GridDistributedTxMapping.
Date Thu, 24 Dec 2015 14:56:49 GMT
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)

Mime
View raw message