ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vladimir Ozerov (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (IGNITE-2233) Avoid boxing in BinaryContext collections
Date Tue, 26 Jan 2016 13:31:39 GMT

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

Vladimir Ozerov updated IGNITE-2233:
------------------------------------
    Assignee:     (was: Vladimir Ozerov)

> 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
>             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)

Mime
View raw message