[Java Performance] reduce memory copies, boxing/unboxing and needless iterating
--------------------------------------------------------------------------------
Key: QPID-933
URL: https://issues.apache.org/jira/browse/QPID-933
Project: Qpid
Issue Type: Improvement
Components: Java Broker, Java Client, Java Common
Affects Versions: M2.1
Reporter: Rob Godfrey
Assignee: Rob Godfrey
Priority: Minor
Changes:
* broker/src/main/java/org/apache/qpid/server/queue/SubscriptionImpl.java
- move as much code as possible out of the synchronized block
* broker/src/main/java/org/apache/qpid/server/queue/InMemoryMessageHandle.java
- use arraylist over linkedlist
* broker/src/main/java/org/apache/qpid/server/ack/UnacknowledgedMessageMap.java
- autoboxing
*
broker/src/main/java/org/apache/qpid/server/ack/UnacknowledgedMessageMapImpl.java
- autoboxing
*
broker/src/main/java/org/apache/qpid/server/output/amqp0_9/ProtocolOutputConverterImpl.java
- move initializers into inner class
*
broker/src/main/java/org/apache/qpid/server/protocol/AMQPFastProtocolHandler.java
- remove debug message
*
broker/src/main/java/org/apache/qpid/server/security/access/plugins/AllowAll.java
- make logger static final
* common/src/main/java/org/apache/qpid/framing/amqp_0_9/MethodConverter_0_9.java
- make ContentChunk implementation non-anonymous, optimize the conversion
of chunk back to body
* common/src/main/java/org/apache/qpid/framing/FieldTable.java
- remove copy of Fieldtable to separate byte[]
* common/src/main/java/org/apache/qpid/framing/ContentBody.java
- use byte array for writing to other buffer
*
client/src/main/java/org/apache/qpid/client/message/AbstractJMSMessageFactory.java
- use byte array for writing to other buffer
* client/src/main/java/org/apache/qpid/client/AMQSession.java
- remove iterators
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.