merlimat commented on issue #1108: Replace DoubleByteBuf with CompositeByteBuf 
because of perf regression with Netty > 4.1.12
URL: https://github.com/apache/bookkeeper/pull/1108#issuecomment-362447977
 
 
   > .allocate() creates HeapByteBuffer which is backed by byte[]
   > May I suggest using java mission control to profile memory allocations 
instead of heap dumps?
   > Let me know if you want me to send steps on running it.
   
   I got allocation tracing from YourKit. I think the difference is that I'm 
writing with v2 BK protocol (no protobuf). With v3 we're forcing a byte[] 
because there's no way to have protobuf to serialize on direct memory (other 
than patching protobuf....)
   

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