Update JCTools to 2.0.1

This commit is contained in:
Scott Mitchell 2017-02-16 11:48:37 -08:00
parent 6ac5f35077
commit 4d7d478a3d
2 changed files with 2 additions and 2 deletions

View File

@ -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<T>(MPSC_CHUNK_SIZE, capacity, true);
return new MpscChunkedArrayQueue<T>(MPSC_CHUNK_SIZE, capacity);
} else {
return new MpscLinkedAtomicQueue<T>();
}

View File

@ -387,7 +387,7 @@
<dependency>
<groupId>org.jctools</groupId>
<artifactId>jctools-core</artifactId>
<version>1.2.1</version>
<version>2.0.1</version>
</dependency>
<dependency>