diff options
Diffstat (limited to 'runtime/jit/jit_code_cache-inl.h')
-rw-r--r-- | runtime/jit/jit_code_cache-inl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/jit/jit_code_cache-inl.h b/runtime/jit/jit_code_cache-inl.h index fab2073e55..b4553a1ec3 100644 --- a/runtime/jit/jit_code_cache-inl.h +++ b/runtime/jit/jit_code_cache-inl.h @@ -38,7 +38,7 @@ EXPORT void JitCodeCache::VisitRootTables(ArtMethod* method, RootVisitorType& vi Thread* self = Thread::Current(); ScopedDebugDisallowReadBarriers sddrb(self); - MutexLock mu(self, *Locks::jit_lock_); + ReaderMutexLock mu(self, *Locks::jit_mutator_lock_); auto code_ptrs_it = method_code_map_reversed_.find(method); if (code_ptrs_it == method_code_map_reversed_.end()) { |