JDK Atomics Package

This episode talks about the java.util.concurrent.atomic package

  • What are atomic operations and why do we need it?
  • Example with volatile, synchronized and Atomics
  • Atomic Internals
  • Atomic Primitives, Array and Reference variants
  • JDK 1.8 classes – LongAdder, LongAccumulator etc
  • Usage of this API in JDK
  • When not to use Atomics

Links:

  1. JDK Atomics API

Music: Paint the Sky by Hans Atom