[
https://issues.apache.org/jira/browse/IGNITE-12491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17003593#comment-17003593
]
Sergey Chugunov commented on IGNITE-12491:
------------------------------------------
[~ibessonov],
Change looks rational for me and reduces checkpoint read lock/unlock cost
significantly. Lets merge it to master.
Thank you for contribution!
> Eliminate contention on ConcurrentHashMap.size()
> ------------------------------------------------
>
> Key: IGNITE-12491
> URL: https://issues.apache.org/jira/browse/IGNITE-12491
> Project: Ignite
> Issue Type: Improvement
> Reporter: Ivan Bessonov
> Assignee: Ivan Bessonov
> Priority: Major
> Fix For: 2.9
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Methods who invoked checkpointReadLock/checkpointReadUnlock spend much time
> on calculation of quantity dirty pages. You will to see that when have some
> hundreds of regions.
> Any persistent operation will be cost hundreds invokes of size on
> ConcurrentHashMap.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)