Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-45244

getActions on Actionable always locks the object

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • core
    • None

      The method getActions on Actionable.java is always locking the object even if not changing anything.

      This is causing lock contention on very demanded Items.

          [JENKINS-45244] getActions on Actionable always locks the object

          Code changed in jenkins
          User: Alvaro Lobato
          Path:
          core/src/main/java/hudson/model/Actionable.java
          http://jenkins-ci.org/commit/jenkins/1c8ed8e672feda211a99cfe4ded20f98777f63a7
          Log:
          JENKINS-45244 Avoid locking every time getActions is called (#2933)

          • Add comment clarifying that the actions must be volatile

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Alvaro Lobato Path: core/src/main/java/hudson/model/Actionable.java http://jenkins-ci.org/commit/jenkins/1c8ed8e672feda211a99cfe4ded20f98777f63a7 Log: JENKINS-45244 Avoid locking every time getActions is called (#2933) JENKINS-45244 Avoid locking every time getActions is called JENKINS-45244 - Remove initializer Add comment clarifying that the actions must be volatile

          Oleg Nenashev added a comment -

          The fix has been released in 2.73

          Oleg Nenashev added a comment - The fix has been released in 2.73

            alobato Alvaro Lobato
            alobato Alvaro Lobato
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: