Commit 986c6fbb authored by Andreas Gampe's avatar Andreas Gampe Committed by Brian Carlstrom
Browse files

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

(cherry picked from commit d87bc135)

Change-Id: Ic44780bad90a8e1ba80858c807e2bef3bf6651c6
parent b71c9d7a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment