aboutsummaryrefslogtreecommitdiff
path: root/vm/compiler/codegen/arm/CodegenFactory.c
diff options
context:
space:
mode:
authorBen Cheng <bccheng@android.com>2010-09-20 22:20:31 -0700
committerBen Cheng <bccheng@google.com>2010-09-22 18:27:53 -0700
commit4934b377d9cf5df6f80da7caab4f2178c6cec307 (patch)
tree344921afc82a8f529d575b87d854d15ac6f9dae1 /vm/compiler/codegen/arm/CodegenFactory.c
parent95a884f7844a6e7bdd820489742254f3fd002f6d (diff)
Several fixes for JIT and self-verification under corner cases.
1) Fix the self-verification mode to handle backward chaining cell properly when a single-step instruction is in the middle of the cyclic portion of the trace. Then found issue 2 when changing the JIT threshold to 1. 2) When the code cache is full, the VM may stop making forward progress and bounces back and forth between the debug and fast intepreters as the translation request is constantly rejected. The fix is to stay in the debug interpreter until the corner case condition is cleared. Then found issue 3. 3) Under self-verification mode, the code cache reset request may get delayed indefinitely due to spurious indication that a thread is running JIT'ed code. Trivial fix - make sure the inJitCodeCache flag is cleared. (cherry-picked from dalvik-dev) Change-Id: Ic0b9952c0ae545f68f7eb2ae06a82a634ab62e9e
Diffstat (limited to 'vm/compiler/codegen/arm/CodegenFactory.c')
0 files changed, 0 insertions, 0 deletions