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

Rob Godfrey resolved QPID-900.
------------------------------

    Resolution: Fixed

Applied patch to M2.1 (soon to be M2.x) branch as revision 648617.

> [Java Common] AMQShortString should not create new byte[] backing when based 
> off a heap buffer
> ----------------------------------------------------------------------------------------------
>
>                 Key: QPID-900
>                 URL: https://issues.apache.org/jira/browse/QPID-900
>             Project: Qpid
>          Issue Type: Improvement
>          Components: Java Common
>    Affects Versions: M2.1
>            Reporter: Rob Godfrey
>            Assignee: Rob Godfrey
>            Priority: Minor
>         Attachments: QPID-900.patch
>
>   Original Estimate: 4h
>  Remaining Estimate: 4h
>
> When an AMQShortString is created it currently copies the data from the 
> supplied ByteBuffer into a newly created array
> this copy is unnecessary when the ByteBuffer is a heapbuffer which is known 
> not to be mutated

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to