[ https://issues.apache.org/jira/browse/QPID-6781?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Keith Wall updated QPID-6781: ----------------------------- Summary: Replace use of Subject#doAs with calls to AccessController#doPrivileged and cache AccessControlContext (was: Replace use of Subject#doAs with calls to AccessController#doPrivileged and a cached context) > 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-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org