diff options
| author | 2023-11-06 16:11:27 +0000 | |
|---|---|---|
| committer | 2023-11-06 16:58:43 +0000 | |
| commit | 4384e944119846a2bc1d699a8c366baf9ac24c8e (patch) | |
| tree | df4ddb19cc2ff76baff980f6af4b71ca74b437c2 /runtime/jit/jit_code_cache.cc | |
| parent | a12874590c1eb01c04d8d8ef28ad61f680406d1b (diff) | |
Revert "Fix pathological deoptimization case."
This reverts commit cd576b2e7927067319f6e7e790d5e3f3a1db7a62.
Reason for revert: Broken luci libcore tests.
Change-Id: I4ceb85bccce9c698a96bb02f4805a2cf98f5b4bb
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 30703e3eb5..845f6eb8fb 100644 --- a/runtime/jit/jit_code_cache.cc +++ b/runtime/jit/jit_code_cache.cc @@ -1316,21 +1316,6 @@ ProfilingInfo* JitCodeCache::GetProfilingInfo(ArtMethod* method, Thread* self) { return it->second; } -void JitCodeCache::MaybeUpdateInlineCache(ArtMethod* method, - uint32_t dex_pc, - ObjPtr<mirror::Class> cls, - Thread* self) { - ScopedDebugDisallowReadBarriers sddrb(self); - MutexLock mu(self, *Locks::jit_lock_); - auto it = profiling_infos_.find(method); - if (it == profiling_infos_.end()) { - return; - } - ProfilingInfo* info = it->second; - ScopedAssertNoThreadSuspension sants("ProfilingInfo"); - info->AddInvokeInfo(dex_pc, cls.Ptr()); -} - void JitCodeCache::ResetHotnessCounter(ArtMethod* method, Thread* self) { ScopedDebugDisallowReadBarriers sddrb(self); MutexLock mu(self, *Locks::jit_lock_); |