incubator-yoko-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lkue...@apache.org
Subject svn commit: r381753 - /incubator/yoko/trunk/ob/src/com/ooc/OB/TypeCodeCache.java
Date Tue, 28 Feb 2006 19:25:40 GMT
Author: lkuehne
Date: Tue Feb 28 11:25:37 2006
New Revision: 381753

URL: http://svn.apache.org/viewcvs?rev=381753&view=rev
Log:
added TODO about DCL

Modified:
    incubator/yoko/trunk/ob/src/com/ooc/OB/TypeCodeCache.java

Modified: incubator/yoko/trunk/ob/src/com/ooc/OB/TypeCodeCache.java
URL: http://svn.apache.org/viewcvs/incubator/yoko/trunk/ob/src/com/ooc/OB/TypeCodeCache.java?rev=381753&r1=381752&r2=381753&view=diff
==============================================================================
--- incubator/yoko/trunk/ob/src/com/ooc/OB/TypeCodeCache.java (original)
+++ incubator/yoko/trunk/ob/src/com/ooc/OB/TypeCodeCache.java Tue Feb 28 11:25:37 2006
@@ -32,7 +32,8 @@
     static public TypeCodeCache
     instance()
     {
-	if(instance_ == null)
+	// TODO: Double checked locking is broken and should be avoided
+        if(instance_ == null)
 	{
 	    synchronized(instanceMutex_)
 	    {



Mime
View raw message