JavaMemoryModel: Double-Checked-Locking - revisited

From: David Holmes (
Date: Mon May 19 2003 - 23:53:15 EDT

In Intel's software developer manual for developing multi-threaded

Section 4.5 recommends you use DCL and near the end has this note:

"DCL should be used with caution in Java because some Java Virtual
implement the Java Memory Model incorrectly." [ref Brian Goetz's Feb
2001 JavaWorld article]

Even though DCL probably works correctly, from a hardware perspective,
on most (older) IA-32 systems, this seems to be completely missing the

David Holmes

JavaMemoryModel mailing list -

This archive was generated by hypermail 2b29 : Thu Oct 13 2005 - 07:00:44 EDT