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-7793) [1.0] Avoid repetitious AccessController.doPrivileged calls if incoming buffer contains a sequence of frames for the same channel
Date Mon, 22 May 2017 06:37:05 GMT

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

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

Commit 1b5d9ad134be779cd2dfa91b7585264c44a2aa32 in qpid-broker-j's branch refs/heads/master
from [~k-wall]
[ https://git-wip-us.apache.org/repos/asf?p=qpid-broker-j.git;h=1b5d9ad ]

QPID-7793: Perform contiguous frames for the same channel under the same access controller
context


> [1.0] Avoid repetitious AccessController.doPrivileged calls if incoming buffer contains
a sequence of frames for the same channel 
> ----------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: QPID-7793
>                 URL: https://issues.apache.org/jira/browse/QPID-7793
>             Project: Qpid
>          Issue Type: Improvement
>          Components: Java Broker
>            Reporter: Keith Wall
>             Fix For: qpid-java-broker-7.0.0
>
>
> If the incoming buffer contains an a sequence of frames for the same channel, we currently
call AccessController.doPrivileged for each frame individually.  As AccessController.doPrivileged
is a relatively expensive operation, it is worthwhile to make this algorithm more efficient.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Mime
View raw message