7127687: MethodType leaks memory due to interning (original) (raw)

David Holmes david.holmes at oracle.com
Thu Mar 29 02:50:23 UTC 2012


Hi John,

On 29/03/2012 9:51 AM, John Rose wrote:

http://cr.openjdk.java.net/~jrose/7127687/webrev.00/

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 hsx/hotspot-comp. At least one reviewer must be an official Reviewer the JDK 8 Project [1], but other reviewers are most welcome.

The change looks okay in principle but I can't validate the new data structure semantics.

One query I have is whether, given its intended usage, this change might add pressure to the reference processing subsystem?

David

[1] http://openjdk.java.net/census#jdk8



More information about the core-libs-dev mailing list