netty5/buffer
Norman Maurer 8a3a3245df Ensure Unsafe buffer implementations are used when sun.misc.Unsafe is present
Motivation:

When sun.misc.Unsafe is present we want to use *Unsafe*ByteBuf implementations. We missed to do so in PooledByteBufAllocator when the heapArena is null.

Modifications:

- Correctly use UnpooledUnsafeHeapByteBuf
- Add unit tests

Result:

Use most optimal ByteBuf implementation.
2017-02-16 07:48:33 +01:00
..
src Ensure Unsafe buffer implementations are used when sun.misc.Unsafe is present 2017-02-16 07:48:33 +01:00
pom.xml Only use Mockito for mocking. 2017-02-07 08:47:22 +01:00