Karthick K·Oct 28Volatile and the Java Memory Model (JMM)Focus: Visibility, ordering, and atomicity in concurrent Java applications.
IndevdomainbyMarcelo Domingues·Aug 27The Java Memory Model Explained: Happens-Before, Volatile, and VisibilityHere's a piece of code that looks obviously correct and is, in fact, broken:
inside Nikita's Mind·Aug 15Java volatile vs synchronized: Visibility Is Not Atomicity (And This Confusion Still Breaks…I once spent six hours chasing a bug that only appeared in production under high load.
Ahmet Yakar·Aug 3The Program That Refused To StopVisibility, reordering, happens-before, and what volatile actually costs.A response icon2
Prateek Das·Jul 25Memory Barrier or Write Barrier for volatile #JavaA Volatile Write Barrier (often called a Memory Barrier or Memory Fence) is entirely different from a Garbage Collection load barrier.