summaryrefslogtreecommitdiff
path: root/lib/tsan/dd
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2014-03-18 08:31:11 +0000
committerDmitry Vyukov <dvyukov@google.com>2014-03-18 08:31:11 +0000
commitd8797fe581a44965c29d9a1909fbdf0e39a3333b (patch)
tree56127cc88d5fc0e9348f5a5b1b4a253f1eca4121 /lib/tsan/dd
parent6e59be3572126b78eed94eddbe1c0d9c3e05e49f (diff)
tsan: support up to 1<<20 mutexes in standalone deadlock detector
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@204127 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/tsan/dd')
-rw-r--r--lib/tsan/dd/dd_rtl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tsan/dd/dd_rtl.h b/lib/tsan/dd/dd_rtl.h
index 42528862c..673f86a3c 100644
--- a/lib/tsan/dd/dd_rtl.h
+++ b/lib/tsan/dd/dd_rtl.h
@@ -36,7 +36,7 @@ struct Callback : DDCallback {
virtual u32 Unwind();
};
-typedef AddrHashMap<Mutex, 1000003> MutexHashMap;
+typedef AddrHashMap<Mutex, 31051> MutexHashMap;
struct Context {
DDetector *dd;