Download all versions of low-latency-primitive-concurrent-queues JAR files with all dependencies
low-latency-primitive-concurrent-queues from group uk.co.boundedbuffer (version 1.0.0)
An low latency, lock free, primitive bounded blocking queue backed by an int[].
This class mimics the interface of {@linkplain java.util.concurrent.BlockingQueue BlockingQueue},
however works with primitive ints rather than objects, so is unable to actually implement the
BlockingQueue.
This class takes advantage of the Unsafe.putOrderedObject, which allows us to create non-blocking code with
guaranteed writes.
These writes will not be re-orderd by instruction reordering. Under the covers it uses the faster store-store
barrier, rather than the the slower store-load barrier, which is used when doing a volatile write.
One of the trade off with this improved performance is we are limited to a single producer, single consumer.
Group: uk.co.boundedbuffer Artifact: low-latency-primitive-concurrent-queues
Show documentation Show source
Show documentation Show source
0 downloads
Artifact low-latency-primitive-concurrent-queues
Group uk.co.boundedbuffer
Version 1.0.0
Last update 24. February 2014
Tags: limited queue single store orderd actually consumer used takes improved free barrier latency concurrent when writes objects these volatile however unable under reordering class code create guaranteed blocking putorderedobject bounded covers than backed doing will load this util linkplain trade blockingqueue slower faster allows performance write rather instruction implement primitive with mimics lock interface ints works which advantage producer uses java unsafe
Organization not specified
URL http://www.boundedbuffer.co.uk
License The Apache Software License, Version 2.0
Dependencies amount 2
Dependencies mockito-core, japex-maven-plugin,
There are maybe transitive dependencies!
Group uk.co.boundedbuffer
Version 1.0.0
Last update 24. February 2014
Tags: limited queue single store orderd actually consumer used takes improved free barrier latency concurrent when writes objects these volatile however unable under reordering class code create guaranteed blocking putorderedobject bounded covers than backed doing will load this util linkplain trade blockingqueue slower faster allows performance write rather instruction implement primitive with mimics lock interface ints works which advantage producer uses java unsafe
Organization not specified
URL http://www.boundedbuffer.co.uk
License The Apache Software License, Version 2.0
Dependencies amount 2
Dependencies mockito-core, japex-maven-plugin,
There are maybe transitive dependencies!
Page 1 from 1 (items total 1)
© 2015 - 2024 Weber Informatics LLC | Privacy Policy