Java Pub House

Episode 1. Volatile, and Synchronized

09.23.2011 - By Freddy Guime & Bob PaulinPlay

Download our free app to listen on your phone

Download on the App StoreGet it on Google Play

On this Episode, we talk about the keyword "volatile", and what does it really mean. Even if you are a multithreading guru, this chapter goes in deep of the different things that volatile protects you from, including L2 caches and code re-ordering. We also cover the use of synchronized, and why, even though is convenient, it might create more headache than it actually solves.

More episodes from Java Pub House