summaryrefslogtreecommitdiffstats
path: root/runtime/base
diff options
context:
space:
mode:
authorRaghu Gandham <raghu.gandham@imgtec.com>2014-06-13 15:16:31 -0700
committerRaghu Gandham <raghu.gandham@imgtec.com>2014-06-13 15:26:39 -0700
commit7de77dd4f2d3cbb0615ee001589eb99ae82c3dcc (patch)
treeb699dc76d48c853897d8cabaa825be2ab4ec4f5d /runtime/base
parent8cd927c8f6911cfb6118b8c54550959c09eb84f8 (diff)
downloadandroid_art-7de77dd4f2d3cbb0615ee001589eb99ae82c3dcc.tar.gz
android_art-7de77dd4f2d3cbb0615ee001589eb99ae82c3dcc.tar.bz2
android_art-7de77dd4f2d3cbb0615ee001589eb99ae82c3dcc.zip
Assign a lower Locklevel for Mutexes used in QuasiAtomic operations.
This fixes the CompilerDriverTest on MIPS. The test was failing when Transaction::Abort() acquired intern_table_lock_ and log_lock_ and subsequently performed QuasiAtomic operations. Change-Id: I9fcda51221f1f298bcb5dd0e10019bd2034ab8ae
Diffstat (limited to 'runtime/base')
-rw-r--r--runtime/base/mutex.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/base/mutex.h b/runtime/base/mutex.h
index 1ba6180076..81e62ab30c 100644
--- a/runtime/base/mutex.h
+++ b/runtime/base/mutex.h
@@ -55,6 +55,7 @@ class Thread;
enum LockLevel {
kLoggingLock = 0,
kMemMapsLock,
+ kSwapMutexesLock,
kUnexpectedSignalLock,
kThreadSuspendCountLock,
kAbortLock,