Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore thread safety management in Java 8 using Lambdas and StampedLock in this 51-minute Devoxx conference talk. Dive into the intricacies of StampedLock, its effective application in many producer/consumer systems, and common idioms enhanced by Lambda expressions. Learn about lock-free solutions utilizing AtomicReference, Unsafe, and VarHandles. Discover optimistic reads, the Cretan crocodile problem, atomic references, and various synchronization techniques. Gain insights into value holder objects, compare volatile operations, and understand the conditional change idiom. Presented by Dr. Heinz Kabutz, author of "The Java Specialists' Newsletter," this talk offers advanced Java concurrency concepts for enthusiasts and professionals alike.
Syllabus
Introduction
Optimistic reads
Cretan crocodile
Moving positions
The move
The algorithm
Value holder objects
Atomic references
Atomic reference filled up
Unsafe
Unset
Creating VAR Handles
Registers
Compare Volatile
Distance from Origin
In Invalid State
Conditional Change
WriteLock
Deluxe
Why do you synchronize
Auto closeable
Public synchronized void
Checked exceptions
Conditional Change idiom
Taught by
Devoxx