Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-6781

Replace use of Subject#doAs with calls to AccessController#doPrivileged and cache AccessControlContext

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • qpid-java-6.0
    • Broker-J
    • None

    Description

      Analysis with a profiler has shown the Subject#doAs (and associated calls) are expensive. Replace use of Subject#doAs with direct calls to AccessController#doPrivileged and have connections/sessions cache an AccessControlContext.

      Attachments

        Activity

          People

            Unassigned Unassigned
            kwall Keith Wall
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: