Using Java 8 Lambdas and StampedLock to Manage Thread Safety
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.