You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Stanislav Lukyanov (JIRA)" <ji...@apache.org> on 2018/01/23 16:44:00 UTC

[jira] [Created] (IGNITE-7508) GridKernalContextImpl::isDaemon creates contention on system properties access

Stanislav Lukyanov created IGNITE-7508:
------------------------------------------

             Summary: 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


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)