diff options
Diffstat (limited to 'src/dalvik_system_VMStack.cc')
| -rw-r--r-- | src/dalvik_system_VMStack.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dalvik_system_VMStack.cc b/src/dalvik_system_VMStack.cc index fd2af393e9..74258473be 100644 --- a/src/dalvik_system_VMStack.cc +++ b/src/dalvik_system_VMStack.cc @@ -26,6 +26,7 @@ namespace art { namespace { static jobject GetThreadStack(JNIEnv* env, jobject javaThread) { + ScopedHeapLock heap_lock; ScopedThreadListLock thread_list_lock; Thread* thread = Thread::FromManagedThread(env, javaThread); return (thread != NULL) ? GetThreadStack(env, thread) : NULL; |