summaryrefslogtreecommitdiff
path: root/runtime/jit/jit_code_cache.h
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/jit/jit_code_cache.h')
-rw-r--r--runtime/jit/jit_code_cache.h11
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.