qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rob Godfrey (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (QPID-6768) Avoid unnecessary message payload copy during send (0-8...0-91)
Date Thu, 12 Nov 2015 00:19:11 GMT

     [ https://issues.apache.org/jira/browse/QPID-6768?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Rob Godfrey resolved QPID-6768.
-------------------------------
    Resolution: Fixed

> Avoid unnecessary message payload copy during send (0-8...0-91)
> ---------------------------------------------------------------
>
>                 Key: QPID-6768
>                 URL: https://issues.apache.org/jira/browse/QPID-6768
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Client, Java Common
>            Reporter: Keith Wall
>            Priority: Minor
>             Fix For: qpid-java-6.0
>
>
> The {{org.apache.qpid.framing.ContentBody#writePayload(java.io.DataOutput)}} method (on
the client's publish path when using 0-8..0-91) always copies the payload before writing to
the {{DataOutput}}.  The underlying byte buffer is expected to be a heap byte buffer and so
will have a backing array, so the copy can be optimised away in this case.



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