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

hudson.model.Computer#getEnvironment should be cached

    XMLWordPrintable

Details

    Description

      a node environment is set as the slave channel is established. The resulting EnvVar doesn't need to be computed again and again any time hudson.model.Computer#getEnvironment is called. This has a bad side effect when a plugin involved in build queue need to check node environment to determine if ti can host the build : relying on remoting IO within a syncrhonized block can just block the queue processing.

      Attachments

        Issue Links

          Activity

            ndeloof Nicolas De Loof created issue -
            jglick Jesse Glick made changes -
            Field Original Value New Value
            Remote Link This issue links to "PR 1559 (Web Link)" [ 12100 ]
            jglick Jesse Glick made changes -
            Labels performance slave
            scm_issue_link SCM/JIRA link daemon made changes -
            Resolution Fixed [ 1 ]
            Status Open [ 1 ] Resolved [ 5 ]
            danielbeck Daniel Beck made changes -
            Link This issue is related to JENKINS-27178 [ JENKINS-27178 ]
            danielbeck Daniel Beck made changes -
            Link This issue is related to JENKINS-27188 [ JENKINS-27188 ]
            jglick Jesse Glick made changes -
            Link This issue depends on JENKINS-27178 [ JENKINS-27178 ]
            jglick Jesse Glick made changes -
            Link This issue is related to JENKINS-27178 [ JENKINS-27178 ]
            imakowski Ireneusz Makowski made changes -
            Labels performance slave lts-candidate performance slave
            danielbeck Daniel Beck made changes -
            Labels lts-candidate performance slave performance slave
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 160923 ] JNJira + In-Review [ 196582 ]
            cloudbees CloudBees Inc. made changes -
            Remote Link This issue links to "CloudBees Internal CJP-2045 (Web Link)" [ 18963 ]

            People

              Unassigned Unassigned
              ndeloof Nicolas De Loof
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: