Get non proxy method for StackDumpVisitor
Fixes failing DCHECK.
(cherry picked from commit ef76c3fa57ddf3f7ca32e118f599da8cb4eb1560)
Bug: 22553459
Change-Id: I6fe1012f9a5f8d29cb98bf25e3a279da51c5e1c0
diff --git a/runtime/thread.cc b/runtime/thread.cc
index f314f61..5274f9e 100644
--- a/runtime/thread.cc
+++ b/runtime/thread.cc
@@ -1048,6 +1048,7 @@
if (m->IsRuntimeMethod()) {
return true;
}
+ m = m->GetInterfaceMethodIfProxy(sizeof(void*));
const int kMaxRepetition = 3;
mirror::Class* c = m->GetDeclaringClass();
mirror::DexCache* dex_cache = c->GetDexCache();