Branch: refs/heads/master
  Home:   https://github.com/jenkinsci/jenkins
  Commit: 2f8b557a3bac38af1c7f24d361c24f19ac9955b6
      
https://github.com/jenkinsci/jenkins/commit/2f8b557a3bac38af1c7f24d361c24f19ac9955b6
  Author: Wadeck Follonier <wad...@users.noreply.github.com>
  Date:   2019-02-08 (Fri, 08 Feb 2019)

  Changed paths:
    M core/src/main/java/hudson/FilePath.java
    M core/src/main/java/hudson/model/DirectoryBrowserSupport.java
    M core/src/main/java/hudson/util/DirScanner.java
    M core/src/main/java/jenkins/util/VirtualFile.java
    M core/src/test/java/hudson/FilePathSEC904Test.java
    M core/src/test/java/jenkins/util/VirtualFileSEC904Test.java

  Log Message:
  -----------
  [JENKINS-55050] Reduce performance impact of SEC-904 (esp. zip) (#3861)

* [JENKINS-55050] Reduce log impact on performance
- especially in case of large / deep folder that is fully illegal
- could reduce time by a factor of around 2.

* Use SystemProperties

* [JENKINS-55050] Reduce performance impact of the security release
- SEC-904 increased the time taken to zip files from
DirectoryBrowserSupport views (workspace / artifact)
- This PR proposes a different approach for some of the highly impact scenario

* Update core/src/main/java/jenkins/util/VirtualFile.java

Co-Authored-By: Wadeck <wad...@users.noreply.github.com>

* Return in case of interruption instead of continuing
- The interruption status flag is not really respected otherwise

* Update core/src/main/java/jenkins/util/VirtualFile.java

Co-Authored-By: Wadeck <wad...@users.noreply.github.com>

* Improve ZipEntry writing
- Add logging on FileSystemException

* Minor refactoring in DirScanner

* Correct conjugation, size for arraylist and dead code removal

* Adjust the PR using the feedbacks

* Adjust the PR using the feedbacks (part 2)

* Adjust the PR using the feedbacks (part 3)


-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-commits+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to