diff options
author | 2018-07-18 13:33:44 +0000 | |
---|---|---|
committer | 2018-07-18 13:33:44 +0000 | |
commit | 14daacad754fbe83de98282b05379b81f3ec4036 (patch) | |
tree | d39faf0d64f9fd8234fdab31db58c0f36222b7f0 /runtime/jit/jit_code_cache.cc | |
parent | 289c6c40083f16b5205138e08afe5074ad27a0ab (diff) | |
parent | bf2ca05ccf658a9f626d1cb3f1adca6087ece7b8 (diff) |
Merge "Revert^3 "Rewrite JVMTI method tracing to use trampolines""
Diffstat (limited to 'runtime/jit/jit_code_cache.cc')
-rw-r--r-- | runtime/jit/jit_code_cache.cc | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/runtime/jit/jit_code_cache.cc b/runtime/jit/jit_code_cache.cc index 70a717154b..eeb35156b5 100644 --- a/runtime/jit/jit_code_cache.cc +++ b/runtime/jit/jit_code_cache.cc @@ -362,21 +362,6 @@ const void* JitCodeCache::GetJniStubCode(ArtMethod* method) { return nullptr; } -void JitCodeCache::ClearAllCompiledDexCode() { - MutexLock mu(Thread::Current(), lock_); - // Get rid of OSR code waiting to be put on a thread. - osr_code_map_.clear(); - - // We don't clear out or even touch method_code_map_ since that is what we use to go the other - // way, move from code currently-running to the method it's from. Getting rid of it would break - // the jit-gc, stack-walking and signal handling. Since we never look through it to go the other - // way (from method -> code) everything is fine. - - for (ProfilingInfo* p : profiling_infos_) { - p->SetSavedEntryPoint(nullptr); - } -} - const void* JitCodeCache::FindCompiledCodeForInstrumentation(ArtMethod* method) { // If jit-gc is still on we use the SavedEntryPoint field for doing that and so cannot use it to // find the instrumentation entrypoint. |