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 d5f4ee3e35f..52251398d85 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
@@ -109,7 +109,7 @@ public InnerAllocator() {
e);
}
- this.chunkSize = directArenas[0].chunkSize;
+ this.chunkSize = directArenas[0].sizeClass.chunkSize;
if (memoryLogger.isTraceEnabled()) {
statusThread = new MemoryStatusThread();
@@ -166,7 +166,7 @@ private UnsafeDirectLittleEndian newDirectBufferL(int initialCapacity, int maxCa
if (directArena != null) {
- if (initialCapacity > directArena.chunkSize) {
+ if (initialCapacity > directArena.sizeClass.chunkSize) {
// This is beyond chunk size so we'll allocate separately.
ByteBuf buf = UnpooledByteBufAllocator.DEFAULT
.directBuffer(initialCapacity, maxCapacity);
diff --git a/pom.xml b/pom.xml
index 1b48ce63c87..957679eff50 100644
--- a/pom.xml
+++ b/pom.xml
@@ -122,8 +122,8 @@
4.11.1
0.6.6
- 2.0.62.Final
- 4.1.101.Final
+ 2.0.65.Final
+ 4.1.109.Final
2.9.0
1.12.3
1676438963