[concurrency-interest] Reordering clarification in DCL example
joe.bowbeer at gmail.com
Sat May 2 14:56:01 EDT 2009
On Sat, May 2, 2009 at 10:10 AM, Carol Saah wrote:
> Thanks. I’m not trying to find a way to fix DCL. I am familiar with Item
> 71 in Effective Java. And, section 16.2.4 of the Java Concurrency in
> Practice does not answer my questions.
> I’m trying to understand exactly what goes on under-the-covers when the
> compiler reorders code in incorrectly synchronized code.
> The example given in the old article does touch on what I am interesting in
If you haven't already, check out Doug Lea's cookbook for compiler writers:
and imagine that the loads and stores are "normal".
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Concurrency-interest