[
https://issues.apache.org/jira/browse/QPID-6781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14960611#comment-14960611
]
ASF subversion and git services commented on QPID-6781:
-------------------------------------------------------
Commit 1708978 from [~godfrer] in branch 'java/trunk'
[ https://svn.apache.org/r1708978 ]
QPID-6781 : Avoid wasteful calls to Subject.getSubject() when the subject is
known
> Replace use of Subject#doAs with calls to AccessController#doPrivileged and
> cache AccessControlContext
> ------------------------------------------------------------------------------------------------------
>
> Key: QPID-6781
> URL: https://issues.apache.org/jira/browse/QPID-6781
> Project: Qpid
> Issue Type: Improvement
> Components: Java Broker
> Reporter: Keith Wall
> Fix For: qpid-java-6.0
>
>
> 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}}.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]