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 2017/04/06 10:56:41 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:
------------------------------------
Fix Version/s: (was: 2.0)
2.1
> Avoid boxing in BinaryContext collections
> -----------------------------------------
>
> Key: IGNITE-2233
> URL: https://issues.apache.org/jira/browse/IGNITE-2233
> Project: Ignite
> Issue Type: Task
> Components: general
> Affects Versions: ignite-1.4
> Reporter: Vladimir Ozerov
> Priority: Minor
> Labels: performance
> Fix For: 2.1
>
>
> 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.15#6346)