Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.4.0
-
None
Description
NettyBufferPool wraps PooledByteBufAllocator but due to this, any allocated buffer's alloc() method is returning the wrapped PooledByteBufAllocator which allowed heap buffers again. By extending the PooledByteBufAllocator, we prevent this loop hole and also fix the invariant that a copy of a buffer should have the same allocator.
Attachments
Issue Links
- links to