You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2015/10/08 17:17:27 UTC

[jira] [Commented] (QPID-6781) Replace use of Subject#doAs with calls to AccessController#doPrivileged and cache AccessControlContext

    [ https://issues.apache.org/jira/browse/QPID-6781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14948817#comment-14948817 ] 

ASF subversion and git services commented on QPID-6781:
-------------------------------------------------------

Commit 1707566 from [~godfrer] in branch 'java/trunk'
[ https://svn.apache.org/r1707566 ]

QPID-6781 : Performance improvements by caching AccessControllerContext

> 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: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org