ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vladimir Ozerov (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-2334) Consider getting rid of XXX8 data structures.
Date Tue, 05 Jan 2016 09:20:39 GMT
Vladimir Ozerov created IGNITE-2334:

             Summary: 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: 1.6

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

View raw message