The reserve constructor was removed in 44f55509d75d8c67077810bb6d9f3bedaea05831 but this one was missed.
As a result, we attempt to iterate through 1024 threads each time.
Details
Details
- Reviewers
yln vitalybuka - Commits
- rG1231a2cec005: [lsan][Darwin][nfc] Fix thread vector size
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
compiler-rt/lib/sanitizer_common/sanitizer_stoptheworld_mac.cpp | ||
---|---|---|
32–33 | threads_() is NOOP, as it already has default constructor |
threads_() is NOOP, as it already has default constructor
reserve is not needed as InternalMmapVector will reserve 4k on the first pushback