Using Java 8 Lambdas and StampedLock To Manage Thread Safety
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?
About the speaker
Heinz fiddles around with Java and publishes his weird discoveries on his Java Specialists' Newsletter. Not for the faint hearted. He lives on Crete, Greece.
bio from Twitter
to add slides, notes or videos to this session