commit | cc3a12158e81cb1fa38bac0e4c1e8c8b4d0c244a | [log] [tgz] |
---|---|---|
author | Andreas Gampe <agampe@google.com> | Tue May 28 11:09:58 2019 -0700 |
committer | Andreas Gampe <agampe@google.com> | Tue May 28 11:09:58 2019 -0700 |
tree | c45c45b3c102a4e4bf33911e4f19b605c0546b36 | |
parent | e42a4b95eed312e6f7019645f4c66b2d77254433 [diff] |
ART: Fix exception stash in stack dump It is the executing thread that needs its exception stashed. This may be different from the dumped thread, which, in case it is not the same thread, the verifier does not care about. Use RAII for stashing. Make the code simpler by removing the flag and instead use a non-null exception object as flag. Bug: 133764636 Test: m test-art-host Change-Id: I2b6a44f41880c96a0cf9bb343db22963dca0a758