The Java memory model for practitioners

A session at Øredev 2015

Thursday 5th November, 2015

3:40pm to 4:20pm (CET)

At first glance, writing concurrent programs in Java seems like a straight-forward task. But the devil is in the detail. Fortunately, these details are strictly regulated by the Java memory model which, roughly speaking, decides what values a program can observe for a field at any given time. Without respecting the memory model, a Java program might behave erratic and yield bugs that only occure on some hardware platforms. This presentation summarizes the guarantees that are given by Java's memory model and teaches how to properly use volatile and final fields or synchronized code blocks. Instead of discussing the model in terms of memory model formalisms, this presentation builds on easy-to follow Java code examples.

About the speaker

This person is speaking at this event.
Rafael Winterhalter

software consultant who likes static types

Coverage of this session

Sign in to add slides, notes or videos to this session

Øredev 2015

Sweden Sweden, Malmo

2nd6th November 2015

Tell your friends!


Time 3:40pm4:20pm CET

Date Thu 5th November 2015

Short URL


Official event site


View the schedule


See something wrong?

Report an issue with this session