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-2580) Investigate HashMap.Node[]
allocations from GridDhtTxPrepareFuture.readyLocks(Iterable)
[ https://issues.apache.org/jira/browse/IGNITE-2580?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vladimir Ozerov updated IGNITE-2580:
------------------------------------
Fix Version/s: (was: 2.0)
2.1
> Investigate HashMap.Node[] allocations from GridDhtTxPrepareFuture.readyLocks(Iterable)
> ---------------------------------------------------------------------------------------
>
> Key: IGNITE-2580
> URL: https://issues.apache.org/jira/browse/IGNITE-2580
> Project: Ignite
> Issue Type: Task
> Components: cache
> Affects Versions: 1.5.0.final
> Reporter: Vladimir Ozerov
> Priority: Minor
> Labels: performance
> Fix For: 2.1
>
>
> *Problem*
> GridDhtTxPrepareFuture is initialized with empty HashSet by default. When single lock is ready HashSet.add() is called causing immediate expansion of underlying HashMap table.
> *Solution*
> Do we really need fully-fledged hash set immediately? Probably we can optimize for single-lock case so that HashSet is not needed at all.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)