[concurrency-interest] Curious: How Java Memory Model is satisfied in JSR166 locks?

Matthias Ernst matthias at mernst.org
Tue Aug 21 10:29:26 EDT 2007


On 8/21/07, Osvaldo Pinali Doederlein <osvaldo at visionnaire.com.br> wrote:
> Yes there is black magic - it's in class sun.misc.Unsafe

I find this an interesting point BTW - this is where the distinction
between VM and language spec falls apart. Library methods with an
impact on language semantics should actually be part of the VM
specification; look how #finalize() made it into the JVMS and
java.util.ref hasn't.

Matthias


More information about the Concurrency-interest mailing list