RFR (XS) 8025088 - Java debugger handling of CONSTANT_MethodHandleInError
serguei.spitsyn at oracle.com
serguei.spitsyn at oracle.com
Fri Sep 20 19:58:46 PDT 2013
Looks good.
Thank you for resolving it!
Thanks,
Serguei
On 9/20/13 3:55 PM, Ioi Lam wrote:
> Please review a small fix:
>
> http://cr.openjdk.java.net/~iklam/8025088/met_hand_in_err1/
>
> Bug: Missing cases for JVM_CONSTANT_MethodHandleInError cause crash
> if debugger steps into error-tagged method handle
>
> https://bugs.openjdk.java.net/browse/JDK-8025088
>
> Summary of fix:
>
> Added handling of CONSTANT_MethodHandleInError and
> CONSTANT_MethodTypeInError in ConstantPool::cpool_entry_size()
> and ConstantPool::copy_cpool_bytes(). These functions are called
> by the debug agent when you single step inside Java code.
>
> There are other places where MethodHandleInError/MethodTypeInError
> are not handled properly. These are unrelated to JVMTI, so I have
> filed a separate bug JDK-8025185.
>
> Tests:
>
> JPRT
> UTE (vm.runtime.testlist nsk.sajdi.testlist vm.tmtools.testlist)
>
> Thanks
> - Ioi
>
More information about the hotspot-runtime-dev
mailing list