summaryrefslogtreecommitdiff
path: root/runtime/base/locks.h
diff options
context:
space:
mode:
author Orion Hodson <oth@google.com> 2021-02-24 09:24:47 +0000
committer David Srbecky <dsrbecky@google.com> 2021-02-25 12:12:16 +0000
commitb9b7d91f5ceb0b738e1774992fd6fe205c6091e9 (patch)
tree06210044d3f66a0eb72e491ba9effc13bb827ced /runtime/base/locks.h
parent4c3ade67c470543562a0029e39b576954a807321 (diff)
Revert "Lazily allocate DexCache arrays."
This reverts commit 1214319d27e7fb4c4ff00b39799df6f15288098a. Reason for revert: Post-submit fails Bug: b/181097963 Test: TH Change-Id: I9fd21140f1703d0020458b786f48bd39889a9948
Diffstat (limited to 'runtime/base/locks.h')
-rw-r--r--runtime/base/locks.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/runtime/base/locks.h b/runtime/base/locks.h
index 25e503cbdc..7008539154 100644
--- a/runtime/base/locks.h
+++ b/runtime/base/locks.h
@@ -97,7 +97,6 @@ enum LockLevel : uint8_t {
kTracingStreamingLock,
kClassLoaderClassesLock,
kDefaultMutexLevel,
- kDexCacheLock,
kDexLock,
kMarkSweepLargeObjectLock,
kJdwpObjectRegistryLock,
@@ -291,8 +290,6 @@ 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_);