Queue
instances based on a best fit to the ConcurrentQueueSpec
.ConcurrentCircularArrayQueue
.ConcurrentCircularArrayQueue
.AtomicReferenceArrayQueue
.ConcurrentLinkedQueue
which is an unbounded multi-producer, multi-consumer queue which is further encumbered by the need to implement
the full range of Queue
methods.Queue
instances based on a best fit to the ConcurrentQueueSpec
.AtomicReferenceFieldUpdater
and similar but their performance is arguably worse than the DIY approach
(depending on JVM version) while Unsafe intrinsification is a far lesser challenge for JIT compilers.Copyright © 2013-2015. All Rights Reserved.