diff --git a/common/src/main/java/io/netty/util/internal/PlatformDependent.java b/common/src/main/java/io/netty/util/internal/PlatformDependent.java index 833f087979..51de1aaf7b 100644 --- a/common/src/main/java/io/netty/util/internal/PlatformDependent.java +++ b/common/src/main/java/io/netty/util/internal/PlatformDependent.java @@ -806,7 +806,7 @@ public final class PlatformDependent { // up to the next power of two and so will overflow otherwise. final int capacity = Math.max(Math.min(maxCapacity, MAX_ALLOWED_MPSC_CAPACITY), MIN_MAX_MPSC_CAPACITY); - return new MpscChunkedArrayQueue(MPSC_CHUNK_SIZE, capacity, true); + return new MpscChunkedArrayQueue(MPSC_CHUNK_SIZE, capacity); } else { return new MpscLinkedAtomicQueue(); } diff --git a/pom.xml b/pom.xml index 08e5885560..7fd06d76a9 100644 --- a/pom.xml +++ b/pom.xml @@ -387,7 +387,7 @@ org.jctools jctools-core - 1.2.1 + 2.0.1