This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX JENKINS-48349] Cache permission id to avoid allocating of new st…
…rings 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) (cherry picked from commit b2c40cb)
- Loading branch information
Showing 1 changed file with 8 additions and 1 deletion.