does anybody know if the "proposed memory model" that is mentioned in
actually part of Java 5, i.e. if DCL is supposed to work with volatile fields or
if this is still something that cannot work reliably even in Java 5 VMs?
I found this comment in JSR-133 that makes be believe that it's still broken:
"There exist a number of common but dubious coding idioms, such as the
double-checked locking idiom, that are proposed to allow threads to communicate
without synchronization. Almost all such idioms are invalid under the existing
semantics, and are expected to remain invalid under the proposed semantics."
So what's the deal?