diff options
author | Dmitry Vyukov <dvyukov@google.com> | 2015-02-13 15:59:23 +0000 |
---|---|---|
committer | Dmitry Vyukov <dvyukov@google.com> | 2015-02-13 15:59:23 +0000 |
commit | 816bf44ac611cab2297c3ace885f580217bba215 (patch) | |
tree | 9e9f18f144d3f437f561dcd9b454fdae45463ca1 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 05841b1e39e5796866a314a9ba57b026236ef842 (diff) | |
download | bcm5719-llvm-816bf44ac611cab2297c3ace885f580217bba215.tar.gz bcm5719-llvm-816bf44ac611cab2297c3ace885f580217bba215.zip |
tsan: reduce history size in Go mode
The ContainsSameAccess optimization substantially reduces pressure
on trace by eliminating duplicate accesses. So now we can reduce
default trace size to reduce per-goroutine memory consumption.
Current default size is 64K events, new -- 32K events.
In either case user can change it with GORACE env var.
Reduces per-goroutine memory consumption from 356K to 226K.
llvm-svn: 229117
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions