Close Encounters of the JMM Kind
summary
Aleksey Shipilev examines common misconceptions about the Java Memory Model (JMM), such as the power of memory barriers, reordering, and synchronization failures, using concrete examples from his published paper. The talk targets listeners who already know the basics of JMM (e.g., from "Pragmatic JMM") and presents corrected, detailed examples that debunk unsupported beliefs in the specification.
AI-written summary · about
chapters (8)
- 0:00Introduction to JMM
- 12:23Cookbook issues
- 20:31Happens-before and consistency
- 32:00Safe publication
- 41:16Race condition dangers
- 44:50Safe races and files
- 48:22JMM rules
- 57:44Q&A
related talks
40mA practical approach to Java Memory Model
45mJava Memory Consistency Model
22mJava Memory Model
49mUnconventional memory model extensions in practice
36mConcurrency — Java Memory Model — Not Just for Eagles
48mNot Just Happens-Before: Unconventional Semantics
27mThe Mutability Matrix of Pain
37mThe Mutability Matrix of Pain: An Accessible Exploration of the JVM Heap
