java-interp.h: Added _Jv_Frame class and its two subclasses _Jv_InterpFrame and _Jv_NativeFrame.
2007-01-29 Kyle Galloway <kgallowa@redhat.com> * include/java-interp.h: Added _Jv_Frame class and its two subclasses _Jv_InterpFrame and _Jv_NativeFrame. Also moved _Jv_FrameType from java-stack.h. * include/java-stack.h: Removed _Jv_FrameType. * java/lang/Thread.java: Added frame member to hold new composite frame stack. * java/lang/Thread.h: Regenerated. * java/lang/Thread.class: Rebuilt. * jni.cc (_Jv_JNIMethod::call): Push a frame onto the stack when calling a JNI method. * jvmti.cc (_Jv_JVMTI_GetStackTrace): New Method. (_Jv_JVMTI_GetFrameCount): New method. * stacktrace.cc (UnwindTraceFn): Modified to use new _Jv_Frame classes. * testsuite/libjava.jvmti/interp/getstacktrace.jar: New test. * testsuite/libjava.jvmti/interp/natgetstacktrace.cc: New test. * testsuite/libjava.jvmti/interp/getstacktrace.h: New test. * testsuite/libjava.jvmti/interp/getstacktrace.jar: New test. * testsuite/libjava.jvmti/interp/getstacktrace.out: Output file for test. From-SVN: r121314
This commit is contained in:
parent
d75bf84344
commit
3927313117
15 changed files with 537 additions and 27 deletions
76
libjava/testsuite/libjava.jvmti/interp/getstacktrace.out
Normal file
76
libjava/testsuite/libjava.jvmti/interp/getstacktrace.out
Normal file
|
@ -0,0 +1,76 @@
|
|||
JVMTI GetStackTrace Interpreted Test
|
||||
Thread has 2 frames
|
||||
Frame 0 is native
|
||||
Frame 1 is interpreted
|
||||
Thread has 3 frames
|
||||
Frame 0 is interpreted
|
||||
Frame 1 is native
|
||||
Frame 2 is interpreted
|
||||
Thread has 4 frames
|
||||
Frame 0 is native
|
||||
Frame 1 is interpreted
|
||||
Frame 2 is interpreted
|
||||
Frame 3 is interpreted
|
||||
Thread has 5 frames
|
||||
Frame 0 is interpreted
|
||||
Frame 1 is native
|
||||
Frame 2 is native
|
||||
Frame 3 is native
|
||||
Frame 4 is interpreted
|
||||
Thread has 6 frames
|
||||
Frame 0 is native
|
||||
Frame 1 is interpreted
|
||||
Frame 2 is interpreted
|
||||
Frame 3 is interpreted
|
||||
Frame 4 is interpreted
|
||||
Frame 5 is interpreted
|
||||
Thread has 7 frames
|
||||
Frame 0 is interpreted
|
||||
Frame 1 is native
|
||||
Frame 2 is native
|
||||
Frame 3 is native
|
||||
Frame 4 is native
|
||||
Frame 5 is native
|
||||
Frame 6 is interpreted
|
||||
Thread has 8 frames
|
||||
Frame 0 is native
|
||||
Frame 1 is interpreted
|
||||
Frame 2 is interpreted
|
||||
Frame 3 is interpreted
|
||||
Frame 4 is interpreted
|
||||
Frame 5 is interpreted
|
||||
Frame 6 is interpreted
|
||||
Frame 7 is interpreted
|
||||
Thread has 9 frames
|
||||
Frame 0 is interpreted
|
||||
Frame 1 is native
|
||||
Frame 2 is native
|
||||
Frame 3 is native
|
||||
Frame 4 is native
|
||||
Frame 5 is native
|
||||
Frame 6 is native
|
||||
Frame 7 is native
|
||||
Frame 8 is interpreted
|
||||
Thread has 10 frames
|
||||
Frame 0 is native
|
||||
Frame 1 is interpreted
|
||||
Frame 2 is interpreted
|
||||
Frame 3 is interpreted
|
||||
Frame 4 is interpreted
|
||||
Frame 5 is interpreted
|
||||
Frame 6 is interpreted
|
||||
Frame 7 is interpreted
|
||||
Frame 8 is interpreted
|
||||
Frame 9 is interpreted
|
||||
Thread has 11 frames
|
||||
Frame 0 is interpreted
|
||||
Frame 1 is native
|
||||
Frame 2 is native
|
||||
Frame 3 is native
|
||||
Frame 4 is native
|
||||
Frame 5 is native
|
||||
Frame 6 is native
|
||||
Frame 7 is native
|
||||
Frame 8 is native
|
||||
Frame 9 is native
|
||||
Frame 10 is interpreted
|
Loading…
Add table
Add a link
Reference in a new issue