From 4d7d478a3dd7ef79e8d18707e573e46b3babe64e Mon Sep 17 00:00:00 2001 From: Scott Mitchell Date: Thu, 16 Feb 2017 11:48:37 -0800 Subject: [PATCH] Update JCTools to 2.0.1 --- .../src/main/java/io/netty/util/internal/PlatformDependent.java | 2 +- pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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