diff options
Diffstat (limited to 'runtime/openjdkjvmti/OpenjdkJvmTi.cc')
| -rw-r--r-- | runtime/openjdkjvmti/OpenjdkJvmTi.cc | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/runtime/openjdkjvmti/OpenjdkJvmTi.cc b/runtime/openjdkjvmti/OpenjdkJvmTi.cc index ed99009b0f..10e877a62f 100644 --- a/runtime/openjdkjvmti/OpenjdkJvmTi.cc +++ b/runtime/openjdkjvmti/OpenjdkJvmTi.cc @@ -48,6 +48,7 @@ #include "thread_list.h" #include "thread-inl.h" #include "ti_method.h" +#include "ti_stack.h" #include "transform.h" // TODO Remove this at some point by annotating all the methods. It was put in to make the skeleton @@ -202,7 +203,12 @@ class JvmtiFunctions { jint max_frame_count, jvmtiFrameInfo* frame_buffer, jint* count_ptr) { - return ERR(NOT_IMPLEMENTED); + return StackUtil::GetStackTrace(env, + thread, + start_depth, + max_frame_count, + frame_buffer, + count_ptr); } static jvmtiError GetAllStackTraces(jvmtiEnv* env, |