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

hudson.model.Computer#getEnvironment should be cached

      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.

          [JENKINS-26755] hudson.model.Computer#getEnvironment should be cached

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

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

              Created:
              Updated:
              Resolved: