summaryrefslogtreecommitdiff
path: root/runtime/class_linker-inl.h
diff options
context:
space:
mode:
author Treehugger Robot <treehugger-gerrit@google.com> 2016-12-03 01:20:05 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2016-12-03 01:20:06 +0000
commit0480523e01102e40a072d266e43a18a0ca4344e4 (patch)
tree3d38b5a98764fd99d6c5de1a6e9c9509168baef4 /runtime/class_linker-inl.h
parentb487af4fc80ffabe0219657a9690be1316dab8e7 (diff)
parentcc1b5357f83f0b787d51fbfde3fe870c8a2fa050 (diff)
Merge "ART: Clean up ClassLinker"
Diffstat (limited to 'runtime/class_linker-inl.h')
-rw-r--r--runtime/class_linker-inl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/class_linker-inl.h b/runtime/class_linker-inl.h
index 7005c292c8..0a65cd11aa 100644
--- a/runtime/class_linker-inl.h
+++ b/runtime/class_linker-inl.h
@@ -248,7 +248,7 @@ ArtMethod* ClassLinker::FindMethodForProxy(ObjPtr<mirror::Class> proxy_class,
DCHECK(proxy_method->IsProxyMethod<kReadBarrierOption>());
{
Thread* const self = Thread::Current();
- ReaderMutexLock mu(self, dex_lock_);
+ ReaderMutexLock mu(self, *Locks::dex_lock_);
// Locate the dex cache of the original interface/Object
for (const DexCacheData& data : dex_caches_) {
if (!self->IsJWeakCleared(data.weak_root) &&