diff options
author | 2024-04-11 16:13:45 +0000 | |
---|---|---|
committer | 2024-04-11 17:52:09 +0000 | |
commit | 69c9ea4f93a688ff50e08060be37bcfd3f3e9910 (patch) | |
tree | 2622c38549bc219b7d2dc7c990eb83a30cc6b571 /runtime/jit/jit_code_cache.h | |
parent | e8da7cd1d0e7d3535c82f8d05adcef3edd43cd40 (diff) |
Revert "x86_64: Add JIT support for LoadMethodType."
This reverts commit 53ca944020bb86199f6f80d8594d5deb1b1d46dd.
Bug: 297147201
Reason for revert: Crash on bot
Change-Id: Ibf3b53a8fe67aa633686990881a96acb783af9a3
Diffstat (limited to 'runtime/jit/jit_code_cache.h')
-rw-r--r-- | runtime/jit/jit_code_cache.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/runtime/jit/jit_code_cache.h b/runtime/jit/jit_code_cache.h index ed242b215e..96fc7e2706 100644 --- a/runtime/jit/jit_code_cache.h +++ b/runtime/jit/jit_code_cache.h @@ -25,7 +25,6 @@ #include <unordered_set> #include <vector> -#include "android-base/thread_annotations.h" #include "base/arena_containers.h" #include "base/array_ref.h" #include "base/atomic.h" @@ -359,11 +358,6 @@ class JitCodeCache { bool IsOsrCompiled(ArtMethod* method) REQUIRES(!Locks::jit_lock_); - // Visit GC roots (except j.l.Class and j.l.String) held by JIT-ed code. - template<typename RootVisitorType> - EXPORT void VisitRootTables(ArtMethod* method, - RootVisitorType& visitor) NO_THREAD_SAFETY_ANALYSIS; - void SweepRootTables(IsMarkedVisitor* visitor) REQUIRES(!Locks::jit_lock_) REQUIRES_SHARED(Locks::mutator_lock_); @@ -518,8 +512,6 @@ class JitCodeCache { REQUIRES(!Locks::jit_lock_) REQUIRES_SHARED(Locks::mutator_lock_); - EXPORT const uint8_t* GetRootTable(const void* code_ptr, uint32_t* number_of_roots = nullptr); - class JniStubKey; class JniStubData; @@ -560,9 +552,6 @@ class JitCodeCache { // Holds compiled code associated to the ArtMethod. SafeMap<const void*, ArtMethod*> method_code_map_ GUARDED_BY(Locks::jit_lock_); - // Content is identical to `method_code_map_`, but keyed by `ArtMethod*`. - // Multimap because one method can be compiled differently (see `CompilationKind`). - std::multimap<ArtMethod*, const void*> method_code_map_reversed_ GUARDED_BY(Locks::jit_lock_); // Holds compiled code associated to the ArtMethod. Used when pre-jitting // methods whose entrypoints have the resolution stub. |