At 8:50 AM -0400 5/29/00, Doug Lea wrote:
> One of the reasons for doing this is that as
>of last summer, I didn't know of any JVMs that did not provide
>initialization safety of final fields. But there are now many more of
>them. Does anyone know of any JVM (maybe on alphas?) that does not?
>
>-Doug
The Symantec JIT does not. Changing the fields of the Singleton in
Paul's example to final has ne effect; you still see uninitialized
values.
Bill
-------------------------------
JavaMemoryModel mailing list - http://www.cs.umd.edu/~pugh/java/memoryModel
This archive was generated by hypermail 2b29 : Thu Oct 13 2005 - 07:00:26 EDT