RFR: 8149743: JVM crash after debugger hotswap with lambdas

Andreas Eriksson andreas.eriksson at oracle.com
Thu Feb 18 16:11:06 UTC 2016


Please review this fix for JDK-8149743: JVM crash after debugger hotswap 
with lambdas

Webrev: http://cr.openjdk.java.net/~aeriksso/8149743/webrev.00/

When redefining a class to add or delete methods an array that's 
tracking method ordering is not updated correctly.
This change swaps the method ordering array between the old class being 
redefined and the scratch class it is being redefined into at the same 
point where we swap the methods and constant pool between them.


More information about the hotspot-runtime-dev mailing list