On Aug 4, 2011, at 1:43 AM, Charles Oliver Nutter wrote:

> I see there's WeakReference used in there...will ClassValue have
> WeakReference-like impact on GC?

In that respect it be like ThreadLocal.  You can create, use, and discard 
ThreadLocal and ClassValue objects without a storage leak.

> I'll try to get JRuby using ClassValue for a few things soon, to help
> test this out against non-ClassValue solutions.

Thanks!  Let me know if I can help.

-- John

_______________________________________________
mlvm-dev mailing list
mlvm-dev@openjdk.java.net
http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev

Reply via email to