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

From: Jeremy Manson (
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

JavaMemoryModel mailing list -

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