[ 
https://issues.apache.org/jira/browse/IGNITE-7508?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16355591#comment-16355591
 ] 

ASF GitHub Bot commented on IGNITE-7508:
----------------------------------------

Github user asfgit closed the pull request at:

    https://github.com/apache/ignite/pull/3468


> GridKernalContextImpl::isDaemon creates contention on system properties access
> ------------------------------------------------------------------------------
>
>                 Key: IGNITE-7508
>                 URL: https://issues.apache.org/jira/browse/IGNITE-7508
>             Project: Ignite
>          Issue Type: Bug
>          Components: general
>            Reporter: Stanislav Lukyanov
>            Assignee: Andrew Mashenkov
>            Priority: Major
>
> GridKernalContextImpl::isDaemon reads system property IGNITE_DAEMON on every 
> call, leading to contention on the system properties lock. The lock is shown 
> as contended in the Java Mission Control analysis of a JFR recording of the 
> IgnitePutGetBenchmark.
> The fix would be to cache IGNITE_DAEMON value (e.g. in IgniteUtils) since it 
> isn't supposed to be changed during the JVM's lifetime anyway.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to