summaryrefslogtreecommitdiff
path: root/runtime/jit/jit_code_cache.cc
diff options
context:
space:
mode:
author Mythri Alle <mythria@google.com> 2022-09-14 12:13:07 +0000
committer Mythri Alle <mythria@google.com> 2022-09-14 14:12:25 +0000
commit778800e334a3fd0f29dbeabad114032bc849a9d1 (patch)
treeeac15b1b49651822aae3bc3c3044735131324282 /runtime/jit/jit_code_cache.cc
parentf8537907783fdbba9a880b3261c2601bbad5fddb (diff)
Revert "Reland "Update instrumentation support for non-java debuggable runtimes""
This reverts commit 322ef183e602f304e3d093c083490dd2e766b254. Reason for revert: Failures on art-tracing: https://android-build.googleplex.com/builds/submitted/9062353/art-tracing/latest/view/logs/build_error.log Change-Id: I59f39e2833b63be15e7507a53ddb5ff6a30d55f3
Diffstat (limited to 'runtime/jit/jit_code_cache.cc')
-rw-r--r--runtime/jit/jit_code_cache.cc12
1 files changed, 0 insertions, 12 deletions
diff --git a/runtime/jit/jit_code_cache.cc b/runtime/jit/jit_code_cache.cc
index ad8cc9ab63..39f165d7e2 100644
--- a/runtime/jit/jit_code_cache.cc
+++ b/runtime/jit/jit_code_cache.cc
@@ -1763,18 +1763,6 @@ void JitCodeCache::InvalidateAllCompiledCode() {
Runtime::Current()->GetInstrumentation()->InitializeMethodsCode(meth, /*aot_code=*/ nullptr);
}
}
-
- for (auto it : zygote_map_) {
- if (it.method == nullptr) {
- continue;
- }
- if (it.method->IsPreCompiled()) {
- it.method->ClearPreCompiled();
- }
- Runtime::Current()->GetInstrumentation()->InitializeMethodsCode(it.method,
- /*aot_code=*/nullptr);
- }
-
saved_compiled_methods_map_.clear();
osr_code_map_.clear();
}