netty5/buffer/src
Norman Maurer 88b8558ec8 Add PooledSlicedByteBuf and PooledDuplicatedByteBuf
Motivation:

At the moment when calling slice(...) or duplicate(...) on a Pooled*ByteBuf a new SlicedByteBuf or DuplicatedByteBuf. This can create a lot of GC.

Modifications:

Add PooledSlicedByteBuf and PooledDuplicatedByteBuf which will be used when a PooledByteBuf is used.

Result:

Less GC.
2015-05-20 11:37:50 +02:00
..
main/java/io/netty/buffer Add PooledSlicedByteBuf and PooledDuplicatedByteBuf 2015-05-20 11:37:50 +02:00
test/java/io/netty/buffer Reset markers when obtain PooledByteBuf. 2015-05-20 07:29:32 +02:00