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, 1 insertions, 4 deletions
diff --git a/runtime/class_linker.h b/runtime/class_linker.h
index 95dc6cfaff..d1212a3e77 100644
--- a/runtime/class_linker.h
+++ b/runtime/class_linker.h
@@ -93,9 +93,6 @@ 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 {
@@ -952,7 +949,7 @@ class ClassLinker {
// Used for tests and AppendToBootClassPath.
ObjPtr<mirror::DexCache> AllocAndInitializeDexCache(Thread* self,
const DexFile& dex_file,
- LinearAlloc* linear_alloc)
+ ObjPtr<mirror::ClassLoader> class_loader)
REQUIRES_SHARED(Locks::mutator_lock_)
REQUIRES(!Locks::dex_lock_)
REQUIRES(!Roles::uninterruptible_);