netty5/buffer/src
Norman Maurer 2aef4a504f Minimize object allocation when calling AbstractByteBuf.toString(..., Charset)
Motivation:

Calling AbstractByteBuf.toString(..., Charset) is used quite frequently by users but produce a lot of GC.

Modification:

- Use a FastThreadLocal to store the CharBuffer that are needed for decoding.
- Use internalNioBuffer(...) when possible

Result:

Less object creation / Less GC
2015-10-15 17:51:57 +02:00
..
main/java/io/netty/buffer Minimize object allocation when calling AbstractByteBuf.toString(..., Charset) 2015-10-15 17:51:57 +02:00
test/java/io/netty/buffer Minimize object allocation when calling AbstractByteBuf.toString(..., Charset) 2015-10-15 17:51:57 +02:00