diff options
author | 2018-07-18 13:26:11 +0000 | |
---|---|---|
committer | 2018-07-18 13:26:11 +0000 | |
commit | bf2ca05ccf658a9f626d1cb3f1adca6087ece7b8 (patch) | |
tree | 8de1c48dd0a83091ffef6bf321ffc4ffc05b1147 /runtime/jit/jit_code_cache.cc | |
parent | 460c6ce61766196fc47ec5744417254fa2d6e364 (diff) |
Revert^3 "Rewrite JVMTI method tracing to use trampolines"
This reverts commit 460c6ce61766196fc47ec5744417254fa2d6e364.
Reason for revert: I believe this is breaking libjdwp jit tests.
Change-Id: I51297763c1d12555b32f3d37c0ceaa3b5720fff5
Test: ./art/tools/run-libjdwp-tests.sh --mode=host --variant=X64 --debug
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. |