netty5/common/src
Norman Maurer 164f6f1731 Add *UnsafeHeapByteBuf for improve performance on systems with sun.misc.Unsafe
Motivation:

sun.misc.Unsafe allows us to handle heap ByteBuf in a more efficient matter. We should use special ByteBuf implementation when sun.misc.Unsafe can be used to increase performance.

Modifications:

- Add PooledUnsafeHeapByteBuf and UnpooledUnsafeHeapByteBuf that are used when sun.misc.Unsafe is ready to use.
- Add UnsafeHeapSwappedByteBuf

Result:

Better performance when using heap buffers and sun.misc.Unsafe is ready to use.
2015-10-21 08:29:56 +02:00
..
main/java/io/netty/util Add *UnsafeHeapByteBuf for improve performance on systems with sun.misc.Unsafe 2015-10-21 08:29:56 +02:00
test/java/io/netty/util [#4171] Fix flacky test introduced by previous commit. 2015-08-29 12:29:19 +02:00