A practical approach to Java Memory Model

A practical approach to Java Memory Model

Java Memory Model is an interesting area of multi-thread programming. It describes how threads interact through memory and what behaviours are allowed in concurrent execution. Most of java developers are familiar with mutual exclusion and synchronized keyword but sometimes we forget that beside mutual exclusion we also have to care about memory visibility.

The talk will introduce number of examples to help understand JMM. It will use OpenJDK Java Concurrency Stress tests framework (JCStress) to validate the results.

Java2days Sofia 2017
Devoxx UK 2018 https://www.youtube.com/watch?v=pS5dPQwgnYo
JBCNConf Barcelona 2018

http://www.happens-before.com/
https://github.com/amczarny/JMMPresentation

389fa5a65d049b0c0b8e6e9bb86870cd?s=128

amczarny

May 11, 2018
Tweet