commit | 17d00d5ded5e5b347cbbf92de3f5f8a35d13e115 | [log] [tgz] |
---|---|---|
author | Ben Cheng <bccheng@android.com> | Thu Oct 27 14:04:12 2011 -0700 |
committer | The Android Automerger <android-build@android.com> | Fri Oct 28 16:19:56 2011 -0700 |
tree | 84de5670bb42baa9f7190b9416c2f8f1d956eaad | |
parent | 74a11549351ff84e52e69c5f127aa7804927e960 [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