>In response to Bill's posting I can say that the Alpha _does_ do the kind
>of "aggressive" reordering that would make this idiom difficult to
In that case, this makes access to object headers, including virtual
method tables, unsafe in the presence of data races. I don't believe
* believe it is acceptable to make it unsafe, or
* believe it is not unsafe?
* believe it acceptable to insert memory barriers before each
access to an object header?
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 firstname.lastname@example.org 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:13 EDT