qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (QPID-6781) Replace use of Subject#doAs with calls to AccessController#doPrivileged and cache AccessControlContext
Date Thu, 08 Oct 2015 15:17:27 GMT

    [ 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


Mime
View raw message