RFR: 8149743: JVM crash after debugger hotswap with lambdas

Coleen Phillimore coleen.phillimore at oracle.com
Mon Feb 22 20:28:01 UTC 2016


This fix looks good.   The test looks like it uses some framework I 
don't know, in a directory that I don't usually run tests in.

We have some redefinition tests in hotspot/test/runtime/RedefineTests - 
can you write one with source code there instead?

I linked an old bug to this, can you see if they are the same?

Thanks,
Coleen

On 2/18/16 11:11 AM, Andreas Eriksson wrote:
> Hi,
>
> Please review this fix for JDK-8149743: JVM crash after debugger 
> hotswap with lambdas
> https://bugs.openjdk.java.net/browse/JDK-8149743
>
> 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.
>
> Regards,
> Andreas



More information about the hotspot-runtime-dev mailing list