You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Keith Wall (JIRA)" <ji...@apache.org> on 2015/10/11 16:38:05 UTC

[jira] [Commented] (QPID-6787) Prevent unnecessary buffer copies/buffer allocations when storing metadata (0-8..0-91)

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

Keith Wall commented on QPID-6787:
----------------------------------

Rob  - would you mind checking this looks reasonable?

> Prevent unnecessary buffer copies/buffer allocations when storing metadata (0-8..0-91)
> --------------------------------------------------------------------------------------
>
>                 Key: QPID-6787
>                 URL: https://issues.apache.org/jira/browse/QPID-6787
>             Project: Qpid
>          Issue Type: Improvement
>          Components: Java Broker
>            Reporter: Keith Wall
>            Assignee: Rob Godfrey
>             Fix For: qpid-java-6.0
>
>         Attachments: 0001-QPID-6787-Prevent-unnecessary-buffer-copies-buffer-a.patch
>
>
> {{org.apache.qpid.framing.BasicContentHeaderProperties#writePropertyListPayload(java.io.DataOutput)}} takes a copy of the encoded form buffer before writing the copy to the destination.  It is possible to eliminate this copy and a few intermediary DataOutput objects.



--
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