See the following URL for details on the Java Memory Model
http://www.cs.umd.edu/~pugh/java/memoryModel/index.html#reference