qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rob Godfrey (JIRA)" <qpid-...@incubator.apache.org>
Subject [jira] Updated: (QPID-900) [Java Common] AMQShortString should not create new byte[] backing when based of a heap buffer
Date Thu, 03 Apr 2008 10:22:24 GMT

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

Rob Godfrey updated QPID-900:
-----------------------------

    Attachment: QPID-900.patch

Attached patch to remove redundant copying of data.

Ensure that QPID-899 patch is applied first as by applying QPID-900 the issues that QPID-899
addresses come to light within the codebase.

> [Java Common] AMQShortString should not create new byte[] backing when based of 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.


Mime
View raw message