forked from OSchip/llvm-project
111d8f785b
pthread_join needs to map pthread_t of the joined thread to our Tid. Currently we do this with linear search over all threads. This has quadratic complexity and becomes much worse with the new tsan runtime, which memorizes all threads that ever existed. To resolve this add a hash map of live threads only (that are still associated with pthread_t) and use it for the mapping. With the new tsan runtime some programs spent 1/3 of time in this mapping. After this change the mapping disappears from profiles. Depends on D113996. Reviewed By: vitalybuka, melver Differential Revision: https://reviews.llvm.org/D113997 |
||
---|---|---|
.. | ||
cmake | ||
docs | ||
include | ||
lib | ||
test | ||
tools | ||
unittests | ||
utils | ||
www | ||
.clang-tidy | ||
.gitignore | ||
CMakeLists.txt | ||
CODE_OWNERS.TXT | ||
CREDITS.TXT | ||
LICENSE.TXT | ||
README.txt |
README.txt
Compiler-RT ================================ This directory and its subdirectories contain source code for the compiler support routines. Compiler-RT is open source software. You may freely distribute it under the terms of the license agreement found in LICENSE.txt. ================================