netty5/buffer/src
Norman Maurer 78c4abbfb7
Change default of io.netty.allocator.useCacheForAllThreads to false (#8991)
Motivation:

We currently use a thread local cache for all threads which often is suprising to users as it may result in a lot of memory usage if they allocate buffers from outside the EventLoop in different threads. We should better not do this by default to keep suprises to a minimum. Users that need the performance and know what they are doing can still change this.

Modifications:

Change io.netty.allocator.useCacheForAllThreads to false by default

Result:

Related to https://github.com/netty/netty/issues/8536.
2019-04-01 19:43:19 +02:00
..
main/java/io/netty/buffer Change default of io.netty.allocator.useCacheForAllThreads to false (#8991) 2019-04-01 19:43:19 +02:00
test/java/io/netty/buffer Change default of io.netty.allocator.useCacheForAllThreads to false (#8991) 2019-04-01 19:43:19 +02:00