YoVDO

Using Java 8 Lambdas and StampedLock to Manage Thread Safety

Offered By: Devoxx via YouTube

Tags

Devoxx Courses Thread Safety Courses

Course Description

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

Related Courses

Java Multi-Threading Mastery: From Basics to Advanced
Board Infinity via Coursera
Create Your First Multithreaded Application in Java
Coursera Project Network via Coursera
Rust
Exercism
Java Backend Developer (Spring Boot)
JetBrains Academy via Independent
Advanced C#: Thread-Safe Data with Concurrent Collections
LinkedIn Learning