JavaMemoryModel: Non-atomic volatile writes

From: Eliot Moss (
Date: Wed Jan 09 2002 - 15:30:48 EST

I like the extra leeway so that volatile writes do not have have a single
global total order, but only those orderings obviously required, which Bill
enumerated. I think it may have bearing on concurrent copying garbage
collectors, which may need to solve the problem of moving a volatile field
from on place to another while non-gc threads are accessing it. This may
stretch the action out more in time, and give another source of two copies,
that different threads might access (but which cannot be updated atomically
at the hardware level on most machines).

Regards -- Eliot
J. Eliot B. Moss, Associate Professor www
Department of Computer Science +1-413-545-4206 voice
140 Governor's Drive, Room 372 +1-413-545-1249 fax
University of Massachusetts email
Amherst, MA 01003-9264 USA +1-413-545-3733 Priscilla Coe sec'y
JavaMemoryModel mailing list -

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