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] Resolved: (QPID-933) [Java Performance] reduce memory copies, boxing/unboxing and needless iterating
Date Wed, 16 Apr 2008 11:41:21 GMT

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

Rob Godfrey resolved QPID-933.
------------------------------

    Resolution: Fixed

Committed to M2.1 branch:

Sending        broker/src/main/java/org/apache/qpid/server/ack/UnacknowledgedMessageMap.java
Sending        broker/src/main/java/org/apache/qpid/server/ack/UnacknowledgedMessageMapImpl.java
Sending        broker/src/main/java/org/apache/qpid/server/output/amqp0_9/ProtocolOutputConverterImpl.java
Sending        broker/src/main/java/org/apache/qpid/server/protocol/AMQPFastProtocolHandler.java
Sending        broker/src/main/java/org/apache/qpid/server/queue/InMemoryMessageHandle.java
Sending        broker/src/main/java/org/apache/qpid/server/queue/SubscriptionImpl.java
Sending        broker/src/main/java/org/apache/qpid/server/security/access/plugins/AllowAll.java
Sending        client/src/main/java/org/apache/qpid/client/AMQSession.java
Sending        client/src/main/java/org/apache/qpid/client/message/AbstractJMSMessageFactory.java
Sending        common/src/main/java/org/apache/qpid/framing/ContentBody.java
Sending        common/src/main/java/org/apache/qpid/framing/FieldTable.java
Sending        common/src/main/java/org/apache/qpid/framing/amqp_0_9/MethodConverter_0_9.java
Transmitting file data ............
Committed revision 648672.


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


Mime
View raw message