commit | d87bc135dba41f0f21cf0018a3b2cb46809890d7 | [log] [tgz] |
---|---|---|
author | Andreas Gampe <agampe@google.com> | Thu Oct 02 21:00:06 2014 -0700 |
committer | Andreas Gampe <agampe@google.com> | Thu Oct 02 21:00:06 2014 -0700 |
tree | 406b1d03ee31f07d591ad4504f9ba11e411648dc | |
parent | 8c732ca5ebec47ef7453fc5e7dc3fb40402d4ff1 [diff] |
ART: Stash any exception before dumping a stack Dumping a managed stack entails dumping held locks, in the process of which the verifier will be run. The verifier works under the assumption that there were no exceptions when started. This assumption is violated for example on certain JNI aborts. The solution is to stash any pending exception before dumping the stack, and re-installing it afterwards. Bug: 17669899 Change-Id: I3cd0526b52fce1acaa35fe0e419176478c82be22