diff options
| author | Ben Cheng <bccheng@android.com> | 2010-01-22 16:45:45 -0800 |
|---|---|---|
| committer | Ben Cheng <bccheng@android.com> | 2010-01-25 11:09:41 -0800 |
| commit | 7a0bcd0de6c4da6499a088a18d1750e51204c2a6 (patch) | |
| tree | 26dfee02af8caf96d04b3330c9d74de4afa109a2 /vm/compiler/codegen/arm/CodegenDriver.c | |
| parent | cf3f76f09ce88e5b8cf86578100fc83352b3d315 (diff) | |
Tighten the safe points for code cache resets to happen.
Add a new flag in the Thread struct to track the whereabout of the top frame
in each Java thread. It is not safe to blow away the code cache if any thread
is in the JIT'ed land.
Diffstat (limited to 'vm/compiler/codegen/arm/CodegenDriver.c')
| -rw-r--r-- | vm/compiler/codegen/arm/CodegenDriver.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/vm/compiler/codegen/arm/CodegenDriver.c b/vm/compiler/codegen/arm/CodegenDriver.c index f92e34728..1993c9dae 100644 --- a/vm/compiler/codegen/arm/CodegenDriver.c +++ b/vm/compiler/codegen/arm/CodegenDriver.c @@ -4103,7 +4103,8 @@ bool dvmCompilerDoWork(CompilerWorkOrder *work) { bool res; - if (gDvmJit.codeCacheFull) { + if (gDvmJit.codeCacheFull && + (work->kind != kWorkOrderICPatch)) { return false; } |
