summaryrefslogtreecommitdiff
path: root/runtime/base/locks.h
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/base/locks.h')
-rw-r--r--runtime/base/locks.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/base/locks.h b/runtime/base/locks.h
index 7008539154..25e503cbdc 100644
--- a/runtime/base/locks.h
+++ b/runtime/base/locks.h
@@ -97,6 +97,7 @@ enum LockLevel : uint8_t {
kTracingStreamingLock,
kClassLoaderClassesLock,
kDefaultMutexLevel,
+ kDexCacheLock,
kDexLock,
kMarkSweepLargeObjectLock,
kJdwpObjectRegistryLock,
@@ -290,6 +291,8 @@ class Locks {
static ReaderWriterMutex* dex_lock_ ACQUIRED_AFTER(modify_ldt_lock_);
+ static Mutex* dex_cache_lock_ ACQUIRED_AFTER(dex_lock_);
+
// Guards opened oat files in OatFileManager.
static ReaderWriterMutex* oat_file_manager_lock_ ACQUIRED_AFTER(dex_lock_);