forked from OSchip/llvm-project
[lsan] Bump the thread limit from 1<<13 to 1<<22
This matches asan. Some applications need more than 1<<13 threads. Reviewed By: vitalybuka Differential Revision: https://reviews.llvm.org/D103731
This commit is contained in:
parent
9ff982dbbd
commit
35fb4b9a7c
|
@ -30,7 +30,7 @@ static ThreadContextBase *CreateThreadContext(u32 tid) {
|
|||
return new (mem) ThreadContext(tid);
|
||||
}
|
||||
|
||||
static const uptr kMaxThreads = 1 << 13;
|
||||
static const uptr kMaxThreads = 1 << 22; // 4M
|
||||
static const uptr kThreadQuarantineSize = 64;
|
||||
|
||||
void InitializeThreadRegistry() {
|
||||
|
|
Loading…
Reference in New Issue