Using Java 8 Lambdas and StampedLock to Manage Thread Safety
Offered By: Devoxx via YouTube
Course Description
Overview
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
Related Courses
Play by Play: Developing Microservices and Mobile Apps with JHipsterPluralsight Software Archaeology - Learning from the Landing on the Moon
Devoxx via YouTube Create an Eco-Friendly World with Green Software Engineering
Devoxx via YouTube Platform Building for Data Mesh - Show Me How It Is Done
Devoxx via YouTube The Hitchhiker's Guide to Software Architecture and Design
Devoxx via YouTube