diff options
Diffstat (limited to 'runtime/base/mutex.h')
-rw-r--r-- | runtime/base/mutex.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/runtime/base/mutex.h b/runtime/base/mutex.h index d0dc8864b3..8af9fa5c46 100644 --- a/runtime/base/mutex.h +++ b/runtime/base/mutex.h @@ -83,6 +83,7 @@ enum LockLevel { kInternTableLock, kOatFileSecondaryLookupLock, kHostDlOpenHandlesLock, + kVerifierDepsLock, kOatFileManagerLock, kTracingUniqueMethodsLock, kTracingStreamingLock, @@ -650,8 +651,11 @@ class Locks { // Guards opened oat files in OatFileManager. static ReaderWriterMutex* oat_file_manager_lock_ ACQUIRED_AFTER(modify_ldt_lock_); + // Guards verifier dependency collection in VerifierDeps. + static Mutex* verifier_deps_lock_ ACQUIRED_AFTER(oat_file_manager_lock_); + // Guards dlopen_handles_ in DlOpenOatFile. - static Mutex* host_dlopen_handles_lock_ ACQUIRED_AFTER(oat_file_manager_lock_); + static Mutex* host_dlopen_handles_lock_ ACQUIRED_AFTER(verifier_deps_lock_); // Guards intern table. static Mutex* intern_table_lock_ ACQUIRED_AFTER(host_dlopen_handles_lock_); |