[concurrency-interest] Re: synchronized vs ReentrantLock semantic

Doug Lea dl at cs.oswego.edu
Tue Jun 14 08:49:00 EDT 2005


David Holmes wrote:

> And anytime the docs mention memory semantics there should really be a
> reference to JLS Chapter 17. We should have a standard phrase like:
> 
> "In terms of the Java Memory Model (see "The Java Language Specification",
> Chapter 17) the memory synchronization effect of this method is ..."
> 

We couldn't do this for initial J2SE5 release, because
the revised JLS didn't even exist yet. But we should
be able to do this for Mustang updates. (David will
help me put these in :-)

-Doug


More information about the Concurrency-interest mailing list