Deep Dive (java.util) - ArrayDeque
The Faster Stack and Queue
Apr 20, 20266 min read1
Search for a command to run...
Articles tagged with #data-structures
The Faster Stack and Queue
Producer-Consumer Primitives
"No locks at all — just atomic compare-and-swap, all the way down." ConcurrentLinkedQueue and ConcurrentLinkedDeque are lock-free concurrent collections built entirely on CAS (Compare-And-Swap) opera
Lock Striping and Concurrency
Snapshot Iteration
Red-Black Trees in the JDK