[11] [12] RFR 8210457: JVM crash in ResolvedMethodTable::add_method(Handle)

coleen.phillimore at oracle.com coleen.phillimore at oracle.com
Tue Mar 12 22:07:10 UTC 2019

Summary: Add a function to call NSME in ResolvedMethodTable to replace 
deleted methods.

Please review a backport of this bug to JDK 11 and 12.  The JDK 12 
backport required some manual merging in 
ResolvedMethodTable::adjust_method_entries to account for some preceding 
cleanup in the original.  The JDK 11 backport patched cleanly from the 
12 backport except for the copyright on Unsafe.java.

The JDK 13 patch: http://hg.openjdk.java.net/jdk/jdk/rev/09cba396916f

JDK 12 webrev: http://cr.openjdk.java.net/~coleenp/2019/8210457.01.12/webrev
JDK 11 webrev: http://cr.openjdk.java.net/~coleenp/2019/8210457.01.11/webrev

I only have approval for JDK 11 at the moment.

These patches passed mach5 tier1 and 2, and the jvmti and 
java/lang/instrument redefinition jtreg tests.


More information about the hotspot-runtime-dev mailing list