sijie commented on a change in pull request #798: Removed all per-entry 
allocations in Journal operations
URL: https://github.com/apache/bookkeeper/pull/798#discussion_r154235147
 
 

 ##########
 File path: 
bookkeeper-server/src/main/java/org/apache/bookkeeper/bookie/Journal.java
 ##########
 @@ -24,20 +24,24 @@
 import com.google.common.base.Stopwatch;
 import io.netty.buffer.ByteBuf;
 import io.netty.buffer.Unpooled;
+import io.netty.util.Recycler;
+import io.netty.util.Recycler.Handle;
+import io.netty.util.internal.RecyclableArrayList;
 
 Review comment:
   It doesn't sound a good idea to use netty internal classes. can we avoid 
this? if we can avoid, I would prefer we have a similar util class. so we are 
not subject to netty changes.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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