Return to Tutorials index

Java Memory model

Downloadable pdf link

This is a good, deeper dive into this subject: Close Encounters of The Java Memory Model

Thankfully, a lot of this edge-case stuff can be ignored in practice ‐ provided you aren't working on any life critical system of course. I created the above diagram and have been hacking Java since '94 but even I don't remember many of these edge cases.