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] Created: (QPID-900) [Java Common] AMQShortString should not create new byte[] backing when based of a heap buffer
Date Thu, 03 Apr 2008 10:16:24 GMT
[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


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