diff options
author | 2022-08-12 06:52:18 +0000 | |
---|---|---|
committer | 2022-08-12 07:23:03 +0000 | |
commit | 7cc22bb96e4e05cf63661eed7fd3dda5304bdacc (patch) | |
tree | b39731daca19a3873c32bc9147147fd0de77e635 /runtime/jit/jit_code_cache.cc | |
parent | 889403b999b236c055df6e64019dcca8622322fc (diff) |
Revert "Update instrumentation support for non-java debuggable runtimes"
This reverts commit 6ecfa91a040bb1a58e57ad99ab2765cd911e845a.
Reason for revert: Failures on jit-on-first-use config: https://android-build.googleplex.com/builds/submitted/8937466/art-jit-on-first-use/latest/view/logs/build.log
Change-Id: I5d910abf27f5b2dcf3af646b4077af78290c5fdc
Diffstat (limited to 'runtime/jit/jit_code_cache.cc')
-rw-r--r-- | runtime/jit/jit_code_cache.cc | 12 |
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(); } |