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 2016/03/31 13:32:25 UTC

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

     [ https://issues.apache.org/jira/browse/IGNITE-2233?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vladimir Ozerov updated IGNITE-2233:
------------------------------------
    Labels: performance  (was: )

> 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
>              Labels: performance
>             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)