ASF GitHub Bot commented on IGNITE-7508:

GitHub user AMashenkov opened a pull request:


    IGNITE-7508: Fix contention on system property access in 


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/gridgain/apache-ignite ignite-7508

Alternatively you can review and apply these changes as the patch at:


To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #3468
commit a78297bf6a531bf5b1d7764637a31542c029c754
Author: Andrey V. Mashenkov <andrey.mashenkov@...>
Date:   2018-02-02T13:57:05Z

    IGNITE-7508: Fix contention on system property access in 


> 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

Reply via email to