RFR 8042235: redefining method used by multiple MethodHandles crashes VM

Coleen Phillimore coleen.phillimore at oracle.com
Mon Nov 17 22:49:44 UTC 2014


Summary: note all MemberNames created on internal list for adjusting 
method entries.

The JVM MemberNameTable code will push all member names on the list 
rather than trying to index by method_idnum.  The code to look up 
MemberName types wasn't used so was removed.  Class redefinition 
iterates through the table sequentially to update the Method* pointers 
in saved member names.

This change will work with David Chase's change to the Java code for bug 
8013267 without the extra code dealing with class redefinition.

Tested with vm.quick.testlist, jck tests and jtreg tests, including the 
mlvm tests that failed in the bug report.

open webrev at http://cr.openjdk.java.net/~coleenp/8042235/
bug link https://bugs.openjdk.java.net/browse/JDK-8042235

Thanks,
Coleen


More information about the hotspot-dev mailing list