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 ...
| License | Apache 2.0 |
|---|---|
| Categories | Collections |
| Tags | concurrentqueuestructuresdatacollections |
| HomePage | http://www.boundedbuffer.co.uk 🔍 Inspect URL |
| Date | Feb 24, 2014 |
| Files | pom (9 KB) jar (16 KB) View All |
| Repositories | CentralSonatype |
| Ranking | #802220 in MvnRepository (See Top Artifacts) #86 in Collections |
| Vulnerabilities | Vulnerabilities from dependencies: CVE-2020-15250 |
Compile Dependencies (2)
| Category/License | Group / Artifact | Version | Updates | |
|---|---|---|---|---|
| Maven Plugins Apache 2.0 | com.sun.japex » japex-maven-plugin | 1.2.4 | ✔ | |
| Mocking MIT | org.mockito » mockito-core | 1.9.5 | 5.20.0 |
Test Dependencies (2)
| Category/License | Group / Artifact | Version | Updates | |
|---|---|---|---|---|
| Microbenchmarks Apache 2.0 | com.sun.japex » japex | 1.2.4 | ✔ | |
| Testing EPL 2.0 | junit » junit1 vulnerability | 4.8.2 | 6.0.1 |
Licenses
| License | URL |
|---|---|
| The Apache Software License, Version 2.0 | http://www.apache.org/licenses/LICENSE-2.0.txt |
Developers
| Name | Dev Id | Roles | Organization | |
|---|---|---|---|---|
| Rob Austin | rob.austin<at>boundedbuffer.com |
Related Books
| Java Generics and Collections: Fundamentals and Recommended Practices (2025) by Naftalin, Maurice, Wadler, Philip | |
| Mastering Java Collections: From Basics to Expert Proficiency (2024) by Smith, William | |
| Data Structures and the Java Collections Framework (2011) by Collins, William J. | |
| Java Generics and Collections: Speed Up the Java Development Process (2006) by Naftalin, ., Wadler, Philip |