[
https://issues.apache.org/jira/browse/IGNITE-8587?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16502208#comment-16502208
]
Dmitriy Pavlov commented on IGNITE-8587:
----------------------------------------
I've retriggered 1 suspicious test in Ignite Spring suite.
> High Contention in GridToStringBuilder.toStringImpl
> -----------------------------------------------------
>
> Key: IGNITE-8587
> URL: https://issues.apache.org/jira/browse/IGNITE-8587
> Project: Ignite
> Issue Type: Bug
> Affects Versions: 2.4
> Reporter: Sergey Kosarev
> Assignee: Sergey Kosarev
> Priority: Major
>
> org.apache.ignite.internal.util.tostring.GridToStringBuilder#classCache
> implemented as
> ordinal HashMap with all operations syncronised by one ReadWriteLock.
> this can trigger high contention as this class widely used in toString()
> methods.
> For instance it shoots when DEBUG or TRACE logs are enabled as count of
> toString() invocations increases in this case extremely.
> We need to use ConcurrentHashMap instead and avoid global locks.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)