summaryrefslogtreecommitdiff
path: root/runtime/class_linker.h
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/class_linker.h')
-rw-r--r--runtime/class_linker.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/runtime/class_linker.h b/runtime/class_linker.h
index d1212a3e77..95dc6cfaff 100644
--- a/runtime/class_linker.h
+++ b/runtime/class_linker.h
@@ -93,6 +93,9 @@ class MethodHandlesLookup;
class MethodType;
template<class T> class ObjectArray;
class StackTraceElement;
+template <typename T> struct NativeDexCachePair;
+using MethodDexCachePair = NativeDexCachePair<ArtMethod>;
+using MethodDexCacheType = std::atomic<MethodDexCachePair>;
} // namespace mirror
class ClassVisitor {
@@ -949,7 +952,7 @@ class ClassLinker {
// Used for tests and AppendToBootClassPath.
ObjPtr<mirror::DexCache> AllocAndInitializeDexCache(Thread* self,
const DexFile& dex_file,
- ObjPtr<mirror::ClassLoader> class_loader)
+ LinearAlloc* linear_alloc)
REQUIRES_SHARED(Locks::mutator_lock_)
REQUIRES(!Locks::dex_lock_)
REQUIRES(!Roles::uninterruptible_);