diff options
Diffstat (limited to 'runtime/base/mutex.h')
| -rw-r--r-- | runtime/base/mutex.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/runtime/base/mutex.h b/runtime/base/mutex.h index 21b5bb926f..255ad714f2 100644 --- a/runtime/base/mutex.h +++ b/runtime/base/mutex.h @@ -659,8 +659,10 @@ class Locks { // Guards modification of the LDT on x86. static Mutex* modify_ldt_lock_ ACQUIRED_AFTER(allocated_thread_ids_lock_); + static ReaderWriterMutex* dex_lock_ ACQUIRED_AFTER(modify_ldt_lock_); + // Guards opened oat files in OatFileManager. - static ReaderWriterMutex* oat_file_manager_lock_ ACQUIRED_AFTER(modify_ldt_lock_); + static ReaderWriterMutex* oat_file_manager_lock_ ACQUIRED_AFTER(dex_lock_); // Guards extra string entries for VerifierDeps. static ReaderWriterMutex* verifier_deps_lock_ ACQUIRED_AFTER(oat_file_manager_lock_); |