franz1981 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_r278954529
 
 

 ##########
 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:
   Ok, I've just fixed the missing bits (due to how `ByteBuf` work)

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to