Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

don't rely on softref queue, explicitly remove dead entry when found,…

… fixes #444
  • Loading branch information...
commit 167a73857a746e8dbeeb6d9ea8f99083aca7dc69 1 parent cc8372f
@richhickey richhickey authored
2  src/jvm/clojure/lang/
@@ -54,6 +54,8 @@ public Class defineClass(String name, byte[] bytes, Object srcForm){
Class c = cr.get();
if(c != null)
return c;
+ else
+ classCache.remove(name, cr);
return super.findClass(name);
1  src/jvm/clojure/lang/
@@ -36,6 +36,7 @@ public static Keyword intern(Symbol sym){
if(existingk != null)
return existingk;
//entry died in the interim, do over
+ table.remove(sym, existingRef);
return intern(sym);
Please sign in to comment.
Something went wrong with that request. Please try again.