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

getActions on Actionable always locks the object

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: core
    • Labels:
      None
    • Similar Issues:

      Description

      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.

        Attachments

          Activity

          Hide
          scm_issue_link 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)

          • Add comment clarifying that the actions must be volatile
          Show
          scm_issue_link 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
          Hide
          oleg_nenashev Oleg Nenashev added a comment -

          The fix has been released in 2.73

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

            People

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

              Dates

              • Created:
                Updated:
                Resolved: