netty5/common/src
Nikolay Fedorovskikh e249b453a0 Make configurable the initial and max size of InternalThreadLocalMap#stringBuilder
Motivation:
In some cases of using an `InternalThreadLocalMap#stringBuilder`, the `StringBuilder`s size can often exceed the exist limit (1024 bytes). This can lead to permanent memory reallocation.

Modifications:
Add custom properties for the initial capacity and maximum size (after which the `StringBuilder`s capacity will be reduced to the initial capacity).

Result:
An `InternalThreadLocalMap#stringBuilder`s initial and max size is configurable. Fixes [#7092].
2017-08-14 13:27:58 -07:00
..
main Make configurable the initial and max size of InternalThreadLocalMap#stringBuilder 2017-08-14 13:27:58 -07:00
test Move methods for decode hex dump into StringUtil 2017-06-23 18:52:42 +02:00