diff options
author | Mathieu Chartier <mathieuc@google.com> | 2015-07-17 18:46:32 -0700 |
---|---|---|
committer | Mathieu Chartier <mathieuc@google.com> | 2015-07-21 09:58:39 -0700 |
commit | 3387f39750942b0442eec351757c7d1f9b1405ca (patch) | |
tree | a902acd9c036613027b7de181ba0947614421306 /runtime | |
parent | 030f2af20dcae2c44bcf1b7b265cf3db4e3c23f8 (diff) | |
download | art-3387f39750942b0442eec351757c7d1f9b1405ca.zip art-3387f39750942b0442eec351757c7d1f9b1405ca.tar.gz art-3387f39750942b0442eec351757c7d1f9b1405ca.tar.bz2 |
Get non proxy method for StackDumpVisitor
Fixes failing DCHECK.
(cherry picked from commit ef76c3fa57ddf3f7ca32e118f599da8cb4eb1560)
Bug: 22553459
Change-Id: I6fe1012f9a5f8d29cb98bf25e3a279da51c5e1c0
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/thread.cc | 1 |
1 files changed, 1 insertions, 0 deletions
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 @@ struct StackDumpVisitor : public StackVisitor { 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(); |