diff --git a/exec/memory/base/src/main/java/io/netty/buffer/PooledByteBufAllocatorL.java b/exec/memory/base/src/main/java/io/netty/buffer/PooledByteBufAllocatorL.java index bee3beb9bc1..d5f4ee3e35f 100644 --- a/exec/memory/base/src/main/java/io/netty/buffer/PooledByteBufAllocatorL.java +++ b/exec/memory/base/src/main/java/io/netty/buffer/PooledByteBufAllocatorL.java @@ -90,7 +90,14 @@ private class InnerAllocator extends PooledByteBufAllocator { @SuppressWarnings("unchecked") public InnerAllocator() { - super(true); + super(true, + PooledByteBufAllocator.defaultNumHeapArena(), + PooledByteBufAllocator.defaultNumDirectArena(), + PooledByteBufAllocator.defaultPageSize(), + Integer.getInteger("io.netty.allocator.maxOrder", 11), + PooledByteBufAllocator.defaultSmallCacheSize(), + PooledByteBufAllocator.defaultNormalCacheSize(), + Boolean.parseBoolean(System.getProperty("io.netty.allocator.useCacheForAllThreads", "true"))); try { Field f = PooledByteBufAllocator.class.getDeclaredField("directArenas"); diff --git a/pom.xml b/pom.xml index 7bd84d83641..348c3a3b2e9 100644 --- a/pom.xml +++ b/pom.xml @@ -114,7 +114,7 @@ 5.13.0 1.25.0 4.0.3 - 4.1.73.Final + 4.1.101.Final 4.5.14 0.18.1 10.14.2.0