Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-7508

GridKernalContextImpl::isDaemon creates contention on system properties access

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.5
    • Component/s: general
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                amashenkov Andrey Mashenkov
                Reporter:
                slukyanov Stanislav Lukyanov
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: