netty5/buffer/src
ming.ma f10f8a3131 Calculate correct count for tiny/small/normal allocation
Motivation:

Disable ThreadLocal Cache, then allocate Pooled ByteBuf and release all these buffers, PoolArena's tiny/small/normal allocation count is incorrect.

Modifications:

- Calculate PoolArena's tiny/small/normal allocation one time
- Add testAllocationCounter TestCase

Result:

Fixes #6282 .
2017-01-30 10:32:58 +01:00
..
main/java/io/netty/buffer Calculate correct count for tiny/small/normal allocation 2017-01-30 10:32:58 +01:00
test/java/io/netty/buffer Calculate correct count for tiny/small/normal allocation 2017-01-30 10:32:58 +01:00