Skip to content
Snippets Groups Projects
Commit 40c19aaf authored by Dmitry Vyukov's avatar Dmitry Vyukov
Browse files

tsan: increase internal memory block limit 1GB->4GB

llvm-svn: 164011
parent 4d743f53
No related branches found
No related tags found
No related merge requests found
......@@ -454,7 +454,7 @@ static void MemoryRangeSet(ThreadState *thr, uptr pc, uptr addr, uptr size,
// Some programs mmap like hundreds of GBs but actually used a small part.
// So, it's better to report a false positive on the memory
// then to hang here senselessly.
const uptr kMaxResetSize = 1024*1024*1024;
const uptr kMaxResetSize = 4ull*1024*1024*1024;
if (size > kMaxResetSize)
size = kMaxResetSize;
size = (size + (kShadowCell - 1)) & ~(kShadowCell - 1);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment