mirror of https://github.com/grpc/grpc-java.git
netty: enable io.grpc.netty.useCustomAllocator by default (take 2) (#6528)
Since #6526 has resolved the memory leak, let's turn it back on.
This commit is contained in:
parent
1d35508000
commit
212da14200
|
@ -92,7 +92,7 @@ class Utils {
|
|||
|
||||
static {
|
||||
if (Boolean.parseBoolean(
|
||||
System.getProperty("io.grpc.netty.useCustomAllocator", "false"))) {
|
||||
System.getProperty("io.grpc.netty.useCustomAllocator", "true"))) {
|
||||
int maxOrder;
|
||||
if (System.getProperty("io.netty.allocator.maxOrder") == null) {
|
||||
// See the implementation of PooledByteBufAllocator. DEFAULT_MAX_ORDER in there is
|
||||
|
|
Loading…
Reference in New Issue