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

Performance: Remove the grantedRoles map from RoleBasedAuthorizationStrategy

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Currently Role Strategy instance stores a HashMap for various role types. Every time this data is fetched, the logic has to retrieve an item from the container. It causes some performance degradation, especially in the case of proper concurrency locks.

      Generally there is no need to have a HashMap for just several items. I propose to replace it by direct RoleMap fields

       

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              Unassigned
              Reporter:
              oleg_nenashev Oleg Nenashev
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: