[aarch64-port-dev ] Temporary fix for single-stepping through method handle calls
Andrew Haley
aph at redhat.com
Wed Sep 4 08:57:22 PDT 2013
What it says. I think this is probably a bug that has already been fixed
in more recent HotSpot versions.
Andrew.
# HG changeset patch
# User aph
# Date 1378310141 -3600
# Node ID c8353ab9f44ccc708500a188c9452a7c8be3a2e2
# Parent 93a04adc792aef141d1832fb9aaa7c598fedfef4
Temporary fix for single-stepping through method handle calls.
diff -r 93a04adc792a -r c8353ab9f44c src/share/vm/prims/jvmtiExport.cpp
--- a/src/share/vm/prims/jvmtiExport.cpp Wed Sep 04 15:41:31 2013 +0100
+++ b/src/share/vm/prims/jvmtiExport.cpp Wed Sep 04 16:55:41 2013 +0100
@@ -1231,7 +1231,11 @@
}
}
- state->decr_cur_stack_depth();
+ // FIXME: this is just a kludge to get JVMTI going. Compiled
+ // MethodHandle code doesn't call the JVMTI notify routines, so the
+ // stack depth we see here is wrong.
+ state->invalidate_cur_stack_depth();
+ // state->decr_cur_stack_depth();
}
More information about the aarch64-port-dev
mailing list