summaryrefslogtreecommitdiff
path: root/runtime/openjdkjvmti/ti_stack.h
diff options
context:
space:
mode:
author Andreas Gampe <agampe@google.com> 2017-01-12 17:40:05 -0800
committer Andreas Gampe <agampe@google.com> 2017-01-12 21:02:35 -0800
commiteba32fbff82bf135090c121d2126bef7b4ee5c3b (patch)
treecba2798aa475e91ed18d99dbb89638157323890f /runtime/openjdkjvmti/ti_stack.h
parent966de9eee1c5a8da95988669f225531b2509e005 (diff)
ART: Add GetThreadListStackTraces
Add support for GetThreadListStackTraces. Add a test. Bug: 31684812 Test: m test-art-host-run-test-911-get-stack-trace Change-Id: I958d02306d515f7ac03fddf4371805b133330d26
Diffstat (limited to 'runtime/openjdkjvmti/ti_stack.h')
-rw-r--r--runtime/openjdkjvmti/ti_stack.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/runtime/openjdkjvmti/ti_stack.h b/runtime/openjdkjvmti/ti_stack.h
index 7619f98daf..a5b391c5d2 100644
--- a/runtime/openjdkjvmti/ti_stack.h
+++ b/runtime/openjdkjvmti/ti_stack.h
@@ -53,6 +53,12 @@ class StackUtil {
jint max_frame_count,
jvmtiFrameInfo* frame_buffer,
jint* count_ptr);
+
+ static jvmtiError GetThreadListStackTraces(jvmtiEnv* env,
+ jint thread_count,
+ const jthread* thread_list,
+ jint max_frame_count,
+ jvmtiStackInfo** stack_info_ptr);
};
} // namespace openjdkjvmti