7127687: MethodType leaks memory due to interning
vitalyd at gmail.com
Wed Mar 28 17:42:56 PDT 2012
I think you can use diamond generic inference when declaring the weak
Also any reason you didn't use WeakHashMap directly with dummy value to
simulate the set? Or wrap the WeakHashMap and synchronize the accessors to
Sent from my phone
On Mar 28, 2012 7:52 PM, "John Rose" <john.r.rose at oracle.com> wrote:
> 7127687: MethodType leaks memory due to interning
> Summary: Replace internTable with a weak-reference version.
> This is a point fix for JDK 8, and will (pending approval) also be
> back-ported to JDK 7u.
> — John
> Notes on process: This code is part of JSR 292. Therefore the review
> comments will be collected in mlvm-dev, and changes will be integrated via
> At least one reviewer must be an official Reviewer the JDK 8 Project ,
> but other reviewers are most welcome.
>  http://openjdk.java.net/census#jdk8
> mlvm-dev mailing list
> mlvm-dev at openjdk.java.net
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the hotspot-compiler-dev