Re: JavaMemoryModel: Are correctly synchronized code fragment executions SC?

From: Jeremy Manson (jmanson@cs.umd.edu)
Date: Thu Mar 18 2004 - 10:26:59 EST


> Hmm... interesting. Perhaps the type system should be extended so that a
> programmer can specify that a method argument must be volatile.

The problem with this is that method arguments are local variables, and
treating a local variable as if it is volatile has no meaningful
semantics.

                                        Jeremy
-------------------------------
JavaMemoryModel mailing list - http://www.cs.umd.edu/~pugh/java/memoryModel



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