You are viewing a plain text version of this content. The canonical link for it is here.
Posted to gitbox@activemq.apache.org by GitBox <gi...@apache.org> on 2019/04/26 13:18:17 UTC

[GitHub] [activemq-artemis] clebertsuconic commented on a change in pull request #2646: ARTEMIS-2317 Reuse file buffer wrapper instances to reduce allocations

clebertsuconic commented on a change in pull request #2646: ARTEMIS-2317 Reuse file buffer wrapper instances to reduce allocations
URL: https://github.com/apache/activemq-artemis/pull/2646#discussion_r278943683
 
 

 ##########
 File path: artemis-server/src/main/java/org/apache/activemq/artemis/core/paging/impl/Page.java
 ##########
 @@ -119,12 +117,6 @@ public void setLiveCache(LivePageCache pageCache) {
       return messages;
    }
 
-   private static void decodeInto(ByteBuffer fileBuffer, int encodedSize, PagedMessageImpl msg) {
-      final ActiveMQBuffer wrappedBuffer = ActiveMQBuffers.wrappedBuffer(fileBuffer);
 
 Review comment:
   This was wrapping each message basically?
   
   I see.. that's a nice improvement

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services