summaryrefslogtreecommitdiff
path: root/test/ProfileTestMultiDex
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2014-07-16 22:20:31 -0700
committerAndreas Gampe <agampe@google.com>2014-07-25 02:23:55 -0700
commitb3ec51e63c5041f77389ee001b47a8897b2a7acc (patch)
tree8dd57a05624cf21a5d88b94b2da2fc8f6fb1d0af /test/ProfileTestMultiDex
parent9157c0ca6a57fa9f6378aebcfb2e3ff76622499a (diff)
ART: Relax CurrentMethodVisitor requirements on GetDexPC
In case we want to dump a Java stack after an unhandled fault, in case we hold a thinlocked monitor, that monitor might get inflated. That can cause an abort as we may not have enough/correct information for the state at the bottom-most call. Relax GetDexPc in the CurrentMethodVisitor to not abort when it cannot find a dex pc. Instead, let the caller handle such a case. This CL allows the locking_dex_pc_ in Monitor to be DexFile::kDexNoIndex, which avoids the above abort. Bug: 16352802, 16556938 (cherry picked from commit 4a8c3fa4bd8d95fac5671ab778dd00b6dc3ec0e4) Change-Id: I60d3d89603de65752d9230ceac6abb0242388c18
Diffstat (limited to 'test/ProfileTestMultiDex')
0 files changed, 0 insertions, 0 deletions