7127687: MethodType leaks memory due to interning

John Rose john.r.rose at oracle.com
Fri Mar 30 17:20:20 PDT 2012


On Mar 29, 2012, at 3:26 AM, Rémi Forax wrote:

> I think you can remove all public methods of class WeakInternSet
> but ,add() i.e. tailor the implementation only for the need, at least 
> until Doug Lea
> provides a weak/concurent/hashmap in java.util.concurent.

OK, I did this.  Removed "public", unused methods, and replaced <E> by hard-wired MethodType.  I will repost shortly.

— John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/mlvm-dev/attachments/20120330/1d5d7eda/attachment.html 


More information about the mlvm-dev mailing list