Changed pqueue stress-test params for debug mode
[libcds.git] / tools / tsan-suppression
index 10a741d5ca8a5432789b3fb89c2fa76c65e3e415..909b04ca640a2fb2307add21316b3f279ddb3b43 100644 (file)
@@ -1,19 +1,24 @@
 # Run-time flags: envvar TSAN_OPTIONS="';' delimited option list"
 # Useful options (full list see https://github.com/google/sanitizers/wiki/ThreadSanitizerFlags):
 #   suppressions=<supression_file_name>
-#   verosity=n Verbosity level (0 - silent, 1 - a bit of output, 2+ - more output).
+#   verbosity=n Verbosity level (0 - silent, 1 - a bit of output, 2+ - more output).
 #   history_size=[0..7], default 2
+#   detect_deadlocks=0 - some data structs in libcds tests use a lot of node-level mutexes.
+#                        TSan has the hardcoded limit =16 for the number of mutex per thread.
+#                        To prevent "possibly deadlock" reporting disable deadlock detection.
+#                        Suppression can help in that case but stack unwinding increases 
+#                        test time significantly.
 
-race:cds_test::thread::run
+# false: LazyList potential deadlock
+deadlock:cds/intrusive/impl/lazy_list.h
+deadlock:cds/intrusive/lazy_list_nogc.h
 
-# DHP 
-#race:cds::gc::details::retired_ptr::free
+# false: BronsonAVLTree potential deadlock
+deadlock:cds/container/impl/bronson_avltree_map_rcu.h
 
-# uRCU false positive
-#race:cds::urcu::gc*::batch_retire*
+#TODO: temporary suppressed. Must be researched later
+race:cds/container/impl/bronson_avltree_map_rcu.h
 
-# EllenBinTree false positive
-#race:ellen_bintree_pool::internal_node_allocator*::allocate
-
-# TODO: TSan false positive or library issues?
-#race:cds::container::OptimisticQueue*::alloc_node
+#TODO: MSPriorityQueue - temporary suppressed. Must be researched later
+# Seems, TSan don't see spinlock blocking. How to learn TSan to see non-traditional locking algo?..
+race:cds::intrusive::MSPriorityQueue