Re: JavaMemoryModel: A memory model for the masses

From: Joshua Bloch (jbloch@eng.sun.com)
Date: Tue Nov 09 1999 - 01:04:54 EST


Bill,

   You make some reasonable points, but I'm not prepared to bite the bullet
yet. On the other hand, I haven't had time to follow the discussion, so so I
may be living in a fool's paradise. I still think it's of the utmost
importance that it be possible to write immutable classes that don't
synchronize every operation but do guarantee their behavior, even in the case
of abuse. We should be able to guarantee the sanctity of String and the
primitive wrapper types, and it shouldn't take a Ph.D. to write safe immutable
types.

                 Josh



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