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)

Reply via email to