Update JCTools to 2.0.1
This commit is contained in:
parent
6ac5f35077
commit
4d7d478a3d
@ -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>();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user