Say you have
Initially, Foo.a = new int[4]
Thread 1 Thread 2
Foo.a = new int[5]; int l = a.length;
In this case, l could get 4 or 5, but I hope we will all be in agreement that
seeing 0 is forbidden.
Bill
-------------------------------
This is the JavaMemoryModel mailing list, managed by Majordomo 1.94.4.
To send a message to the list, email JavaMemoryModel@cs.umd.edu
To send a request to the list, email majordomo@cs.umd.edu and put
your request in the body of the message (use the request "help" for help).
For more information, visit http://www.cs.umd.edu/~pugh/java/memoryModel
This archive was generated by hypermail 2b29 : Thu Oct 13 2005 - 07:00:16 EDT