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/07/10 07:08:06 UTC

[jira] [Updated] (IGNITE-2334) Consider getting rid of XXX8 data structures.

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

Vladimir Ozerov updated IGNITE-2334:
------------------------------------
    Fix Version/s:     (was: 2.1)
                   2.2

> Consider getting rid of XXX8 data structures.
> ---------------------------------------------
>
>                 Key: IGNITE-2334
>                 URL: https://issues.apache.org/jira/browse/IGNITE-2334
>             Project: Ignite
>          Issue Type: Task
>          Components: cache
>    Affects Versions: ignite-1.4
>            Reporter: Vladimir Ozerov
>             Fix For: 2.2
>
>
> Current state of Java 8 data structures differs from our "jsr166" data structures. 
> One noticeable change is how size is handled inside ConcurrentHashMap. Instead of using LongAdder, it has some inlined version of adder which is more suitable for map operations. 
> But our outdated implementation ConcurrentHashMap8 still uses LongAdder8 and it is seen as a hotspot in profiler.
> We should evaluate whether it still makes sense to keep our versions of concurrent structures.
> 1) Quickly replace all *8* data structures with their normal counterparts.
> 2) Run benchmarks with Java7 and Java8. 
> 3) Decide whether change is needed.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)