diff options
author | 2023-11-06 22:39:52 +0000 | |
---|---|---|
committer | 2023-11-07 10:45:26 +0000 | |
commit | effa0a6222b07f6ee7aad734e6ef72376ed94a2c (patch) | |
tree | 96cd05826194dab0cf23fd971fb46113e5afcd10 /runtime/jit/jit_code_cache.h | |
parent | 10f07e0ceb600a84c6805212efaf119d49eaeeb2 (diff) |
Reland "Fix pathological deoptimization case."
This reverts commit 4384e944119846a2bc1d699a8c366baf9ac24c8e.
Reason for revert: use the right bottom shadow frame for the inline
cache.
Change-Id: Ia3208bd0792dd3a615763ef146973e0c84cf31b4
Diffstat (limited to 'runtime/jit/jit_code_cache.h')
-rw-r--r-- | runtime/jit/jit_code_cache.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/runtime/jit/jit_code_cache.h b/runtime/jit/jit_code_cache.h index 034ee9f6c5..86efb91d0e 100644 --- a/runtime/jit/jit_code_cache.h +++ b/runtime/jit/jit_code_cache.h @@ -407,6 +407,11 @@ class JitCodeCache { ProfilingInfo* GetProfilingInfo(ArtMethod* method, Thread* self); void ResetHotnessCounter(ArtMethod* method, Thread* self); + void MaybeUpdateInlineCache(ArtMethod* method, + uint32_t dex_pc, + ObjPtr<mirror::Class> cls, + Thread* self) + REQUIRES_SHARED(Locks::mutator_lock_); void VisitRoots(RootVisitor* visitor); |