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

ASF subversion and git services commented on DISPATCH-1379:
-----------------------------------------------------------

Commit 7372cec8b4fd310ba506f5b0b45528a81b11baee in qpid-dispatch's branch 
refs/heads/master from Charles E. Rolke
[ https://gitbox.apache.org/repos/asf?p=qpid-dispatch.git;h=7372cec ]

DISPATCH-1379: use saved buffer pointer


> Message receive performance improvements
> ----------------------------------------
>
>                 Key: DISPATCH-1379
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-1379
>             Project: Qpid Dispatch
>          Issue Type: Improvement
>          Components: Router Node
>    Affects Versions: 1.8.0
>            Reporter: Chuck Rolke
>            Assignee: Chuck Rolke
>            Priority: Major
>
> Code inspection reveals three function calls per message that may be 
> eliminated and a buffer free that could be executed outside of holding the 
> content lock.
>  * Message allocator initializes object in memory ascending order
> Despite the size of the code, setting the required fields to zero directly is 
> faster that calling ZERO.
>  * Eliminate redundant calls to pn_link_get_context
>  * Free empty pending buffer outside of content lock



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to