commit | 8faec7e782eca1fd6a2ad071c30b939c77c82662 | [log] [tgz] |
---|---|---|
author | Ben Cheng <bccheng@android.com> | Thu Oct 27 14:04:12 2011 -0700 |
committer | Ben Cheng <bccheng@android.com> | Fri Oct 28 12:18:56 2011 -0700 |
tree | 84de5670bb42baa9f7190b9416c2f8f1d956eaad | |
parent | b4593f197532419746a0df6d93fb33f8b815affc [diff] |
Fix single-stepping resume mode in the interpreter. (cherry-picked from master) When a resume attempt is cancelled due to other pending request make sure the old native resume PC is cleared. Otherwise the JIT code cache may be re-entered with mismatching Dalvik PC. Also fix a code bloat problem where single-step count is not set properly after executing a return instruction. BUG: 5208786 Change-Id: I39db1633dcda1f464311c878ded4b5695a9b7ffd