Using Java 8 Lambdas and StampedLock to manage Thread Safety

Session
Until April 3rd:
Save up to 345€
Team Discount
5-Day Special
Register now
Bis 3. April:
Bis zu 345 € sparen
Kollegenrabatt
5-Tages-Special
Jetzt anmelden
Thanks for another great conference week:
See you in 2025
Stay tuned and register for our Newsletter
Sign up
Vielen Dank für eine weitere tolle Konferenzwoche
Wir sehen uns in 2025
Bleiben Sie mit unseren Newsletter auf dem Laufenden
Anmelden
In this talk, you will learn: * What is StampedLock (introduced in Java 8)? * How can the StampedLock provide an effective way to manage thread safety with objects that contain several fields (with invariants across them) in many producer/many consumer systems? * What are common StampedLock idioms – and how can Lambdas be applied to make them pluggable? * What are some lock-free solutions, based on AtomicReference/Unsafe/VarHandles?