ASR-9436 Using Java 8 Lambdas and StampedLock To Manage Thread Safety | Devoxx
java Java Language

Room A

Thursday from 11:55 AM til 12:45 PM

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?
Heinz Kabutz Heinz Kabutz

Dr Heinz Kabutz writes the popular "The Java Specialists' Newsletter" read by tens of thousands of enthusiastic fans in over 138 countries. To sign up, visit