At 6:58 AM -0400 6/30/99, V.C. Sreedhar wrote:
>
>Per Brinch Hansen in SIGPLAN Notice Vol 34, No. 4, April 1999
>has written an article on Java's insecure parallelism....
>I believe this article will be of interest to this forum
It isn't really that much of immediate interest. The article is more
of a complaint about the design of Java's language support for
parallelism. In Hansen's article, he argues (essentially) that all
methods should be synchronized and the all fields should be private.
This would eliminate unsynchronized access to shared variables
(although it could raise significant performance and deadlock
problems).
But at any rate, it isn't the issue of the moment. We are stuck with
the broad outlines of Java's thread and synchronization semantics.
I think a very interesting research question for future languages is
the design of threading and synchronization constructs. I expect our
experience over the coming years with millions of Java programmers
pulling their hair out over nondeterministic and surprising thread
behavior may provide some guidance.
Bill Pugh
-------------------------------
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:13 EDT