Re: JavaMemoryModel: proposal for semantics & implementation on relaxed memory model machines

From: Joshua Bloch (
Date: Thu Jul 15 1999 - 03:11:39 EDT

    In re. Dan Scales, Sanjay Ghemawat and Raymie Stata's carefully
thought-out proposal, whether or not one thinks the lazy initialization
idioms are reasonable, it still strikes me as a *very* bad idea to permit
compromised Strings to float around. I strongly suspect -- In fact I
know -- that there are modules whose security is compromised if Strings
"behave badly." To me, this suggests that we may have no choice but to
solve the "initialization safety problem."


P.S. I realize that we pretty much agreed not to discuss this anymore, and
I do not want to start a flame-fest. Sorry if anyone considers this mail
out of line but I just want to remind people that "String-safety" may
eventually be decreed an absolute requirement by the powers that be.

This is the JavaMemoryModel mailing list, managed by Majordomo 1.94.4.

To send a message to the list, email
To send a request to the list, email and put
your request in the body of the message (use the request "help" for help).
For more information, visit

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