summaryrefslogtreecommitdiffstats
path: root/runtime/base/mutex.h
diff options
context:
space:
mode:
authorMathieu Chartier <mathieuc@google.com>2015-03-13 11:33:37 -0700
committerMathieu Chartier <mathieuc@google.com>2015-03-13 16:38:25 -0700
commit12d625f87bcd6c4059a205bb39007a255f57f382 (patch)
treeb69f6f80f56977c176e0c441869d2f1de06ede70 /runtime/base/mutex.h
parentb871a15f1f662c8efe10d41199180bd00b6decd1 (diff)
downloadart-12d625f87bcd6c4059a205bb39007a255f57f382.tar.gz
art-12d625f87bcd6c4059a205bb39007a255f57f382.tar.bz2
art-12d625f87bcd6c4059a205bb39007a255f57f382.zip
Change method verifiers to be thread local roots
Bug: 10921004 Change-Id: I3a1425d76cd380587ba67ef6d5ec1227564e55bf
Diffstat (limited to 'runtime/base/mutex.h')
-rw-r--r--runtime/base/mutex.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/runtime/base/mutex.h b/runtime/base/mutex.h
index f9e1e6238a..6e7b04fc93 100644
--- a/runtime/base/mutex.h
+++ b/runtime/base/mutex.h
@@ -588,11 +588,9 @@ class Locks {
// Guards lists of classes within the class linker.
static ReaderWriterMutex* classlinker_classes_lock_ ACQUIRED_AFTER(breakpoint_lock_);
- static Mutex* method_verifiers_lock_ ACQUIRED_AFTER(classlinker_classes_lock_);
-
// When declaring any Mutex add DEFAULT_MUTEX_ACQUIRED_AFTER to use annotalysis to check the code
// doesn't try to hold a higher level Mutex.
- #define DEFAULT_MUTEX_ACQUIRED_AFTER ACQUIRED_AFTER(Locks::method_verifiers_lock_)
+ #define DEFAULT_MUTEX_ACQUIRED_AFTER ACQUIRED_AFTER(Locks::classlinker_classes_lock_)
static Mutex* allocated_monitor_ids_lock_ ACQUIRED_AFTER(classlinker_classes_lock_);