Current impl:
https://github.com/JCTools/JCTools/blob/master/jctools-core/src/main/java/org/jctools/queues/MpmcArrayQueue.java#L330
Offers the API but is not actually batching the expensive operation which is the CAS. A better implementation would look ahead for a clear slot and attempt a batch CAS increment to it, followed by filling the slots up to, and including it (sequence checking each one).
Current impl:
https://github.com/JCTools/JCTools/blob/master/jctools-core/src/main/java/org/jctools/queues/MpmcArrayQueue.java#L330
Offers the API but is not actually batching the expensive operation which is the CAS. A better implementation would look ahead for a clear slot and attempt a batch CAS increment to it, followed by filling the slots up to, and including it (sequence checking each one).