I think my first post didn't make it to the list, so I am reposting.
Apologies if this is a double-post.
Kammy Wesley wrote:
> Hello all:
> I have read the article on "Double Checked Locking is Broken", and I
> have a question. If the constructor for my singleton throws an
> exception, do I have any other choice besides the synchronized
> "getHelper" method for correctly instantiating my singleton?
> It doesn't seem that I can use the "create another class to hold the
> singleton method" as referred to near the end of the article, right?
JavaMemoryModel mailing list - http://www.cs.umd.edu/~pugh/java/memoryModel
This archive was generated by hypermail 2b29 : Thu Oct 13 2005 - 07:00:32 EDT