RFR (XS) 8025088 - Java debugger handling of CONSTANT_MethodHandleInError
Ioi Lam
ioi.lam at oracle.com
Fri Sep 20 15:55:01 PDT 2013
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