Using Java 8 Lambdas and StampedLock To Manage Thread Safety

A session at JAX Finance 2017

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

This person is speaking at this event.
Heinz Kabutz

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

Sign in to add slides, notes or videos to this session

Tell your friends!

View the schedule


See something wrong?

Report an issue with this session