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
strategies.
* Performance is not considered an observable behavior (although
termination
is).
Bill
-------------------------------
JavaMemoryModel mailing list - http://www.cs.umd.edu/~pugh/java/memoryModel
This archive was generated by hypermail 2b29 : Thu Oct 13 2005 - 07:01:08 EDT