Branch: refs/heads/master
  Home:   https://github.com/jenkinsci/jenkins
  Commit: b2c40cb9e0db72c978b3a50be0d4c467cb33eb20
      
https://github.com/jenkinsci/jenkins/commit/b2c40cb9e0db72c978b3a50be0d4c467cb33eb20
  Author: Alexander Akbashev <mr.akbas...@gmail.com>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M core/src/main/java/hudson/security/Permission.java

  Log Message:
  -----------
  Cache permission id to avoid allocating of new strings

Every request that comes from Jelly is checked against Permissions.
As result it leads to a call of `getId` method that produces the new string.
Usually it's not a problem, but in case of stop-the-world pause user requests 
are accumulated.
So, once pause is finished, we forcibly allocated tons of strings for
every request. That leads to new stop-the-world pause. (And this cycle
can repeat multiple times)


  Commit: b431eb422a8f8b44ede27d72630a67b74149dd25
      
https://github.com/jenkinsci/jenkins/commit/b431eb422a8f8b44ede27d72630a67b74149dd25
  Author: Oleg Nenashev <o.v.nenas...@gmail.com>
  Date:   2017-11-26 (Sun, 26 Nov 2017)

  Changed paths:
    M core/src/main/java/hudson/security/Permission.java

  Log Message:
  -----------
  Merge pull request #3155 from Jimilian/cache_permission_id

Cache permission id to avoid allocating of new strings


Compare: 
https://github.com/jenkinsci/jenkins/compare/e3b695fe5813...b431eb422a8f

-- 
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