Re: JavaMemoryModel: Performing speculative writes ahead of

From: Bill Pugh (
Date: Mon May 31 2004 - 12:37:54 EDT

Just to confirm/verify a couple of things that have flashed by on email.

* It must not be observable that a compiler has reordered a
non-terminating loop and
   a following write.

* The semantics only discusses observable behavior, not execution

* Performance is not considered an observable behavior (although


JavaMemoryModel mailing list -

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