netty5/buffer/src
Norman Maurer 9697afc106 Allow to disable reference count checks on every access of the ByteBuf
Motiviation:

Checking reference count on every access on a ByteBuf can have some big performance overhead depending on how the access pattern is. If the user is sure that there are no reference count errors on his side it should be possible to disable the check and so gain the max performance.

Modification:

- Add io.netty.buffer.bytebuf.checkAccessible system property which allows to disable the checks. Enabled by default.
- Add microbenchmark

Result:

Increased performance for operations on the ByteBuf.
2015-10-15 10:21:16 +02:00
..
main/java/io/netty/buffer Allow to disable reference count checks on every access of the ByteBuf 2015-10-15 10:21:16 +02:00
test/java/io/netty/buffer [#4313] ByteBufUtil.writeUtf8 should use fast-path for WrappedByteBuf 2015-10-13 12:00:37 +02:00