You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by "Vladimir Ozerov (JIRA)" <ji...@apache.org> on 2015/12/22 15:54:46 UTC

[jira] [Created] (IGNITE-2233) Avoid boxing in BinaryContext collections

Vladimir Ozerov created IGNITE-2233:
---------------------------------------

             Summary: Avoid boxing in BinaryContext collections
                 Key: IGNITE-2233
                 URL: https://issues.apache.org/jira/browse/IGNITE-2233
             Project: Ignite
          Issue Type: Sub-task
          Components: general
    Affects Versions: ignite-1.4
            Reporter: Vladimir Ozerov
            Assignee: Vladimir Ozerov
             Fix For: 1.6


The following methods generate visible GC pressure due to constant boxing of int keys:
BinaryContext.descriptorForTypeId
BinaryContext.userTypeIdMapper
BinaryContext.schemaRegistry

Possilbe solutions:
1) int -> Object maps (e.g. see Martin Thompson's Argona lib).
2) COW semantics instead of concurrent maps/sets as these collections are updated only during warmup.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)