In the old runtime we used to use different number of trace parts
for C++ and Go to reduce trace memory consumption for Go.
But now it's easier and better to use smaller parts because
we already use minimal possible number of parts for C++ (3).
Details
Details
- Reviewers
 vitalybuka melver - Commits
 - rGfa24d58279cf: tsan: use smaller trace parts for Go
 
Diff Detail
Diff Detail
- Repository
 - rG LLVM Github Monorepo
 
Event Timeline
| compiler-rt/lib/tsan/rtl/tsan_trace.h | ||
|---|---|---|
| 195 | Could do this in less code: static constexpr uptr kByteSize = (SANITIZER_GO ? 128 : 256) << 10;  | |
Could do this in less code: