[PATCH] D16689: [tsan] Dynamically detect heap range for aarch64.

Yabin Cui via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 22 16:20:27 PST 2016


yabinc updated this revision to Diff 48752.
yabinc added a comment.

profiling results on N5X(aarch64) as below:
mini_bench_local
without tsan: 2.50s
tsan before: 131s
tsan after change: 138s

mini_bench_shared
without tsan: 3.60s
tsan before: 126s
tsan after change: 130s

start_many_threads
without tsan: 0.05s
tsan before: 0.39s
tsan after change: 0.47s

vts_many_threads
without tsan: 1.64s
tsan before: 165s
tsan after change: 163s

According to the results, the performance lose when accessing
memory may be about 5%, which seems acceptable.


http://reviews.llvm.org/D16689

Files:
  lib/tsan/rtl/tsan_platform.h
  lib/tsan/rtl/tsan_platform_linux.cc

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D16689.48752.patch
Type: text/x-patch
Size: 7474 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160223/5ea8bc67/attachment.bin>


More information about the llvm-commits mailing list