[
https://issues.apache.org/jira/browse/IGNITE-12414?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Maxim Muzafarov updated IGNITE-12414:
-------------------------------------
Fix Version/s: (was: 2.10)
(was: 3.0)
> .NET: Performance: review CopyOnWriteConcurrentDictionary.GetOrAdd usage and
> locking
> ------------------------------------------------------------------------------------
>
> Key: IGNITE-12414
> URL: https://issues.apache.org/jira/browse/IGNITE-12414
> Project: Ignite
> Issue Type: Improvement
> Components: platforms
> Reporter: Pavel Tupitsyn
> Assignee: Pavel Tupitsyn
> Priority: Major
> Labels: .NET
>
> CopyOnWriteConcurrentDictionary.GetOrAdd uses lock right away, while the
> class assumes frequent reads and infrequent writes. It can be beneficial to
> check for the key outside of the lock.
> In particular, this often causes contention because of
> BinarySystemHandlers.GetWriteHandler call.
> Review other usages of this method.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)