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