hg: mlvm/mlvm/jdk: cval: hang caches on classes
John Rose
john.r.rose at oracle.com
Thu Aug 4 13:31:52 PDT 2011
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/mlvm-dev/attachments/20110804/114e3ab7/attachment.html
More information about the mlvm-dev
mailing list