Languages  >>  Java

Advanced Topics in Programming Languages: The Java Memory Model

Language : English Quality : High Has Audio : true Source : Google Videos Media : Flash
This talk describes the Java Memory Model and how it affects the ways concurrent software ... all ยป should be written. Recent changes to the memory model, which were incorporated into JDK 5, redefined the semantics of threads, synchronization, volatile variables, and final fields. The new memory model provides efficient and provably correct techniques for safely and correctly implementing concurrent operations. These techniques are compatible with existing good programming practice, although care needs to be taken in a couple of corner cases.

This talk will provide a simple and clear definition of what synchronization actually does, define the semantics of volatile variables and the java.util.concurrent.atomic package (and how they can be used to create efficient concurrent implementations), and describe how final fields can be used to provide thread-safe immutable objects without synchronization.     [SUGGEST  A  ARTICLE]

Tags: Java, Programming, Google EngEDU, Memory,     [SUGGEST  A  TAG]

Resources referenced in this screencast
  • Java