summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaCodeComplete.cpp
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2012-08-23 17:16:07 +0000
committerDmitry Vyukov <dvyukov@google.com>2012-08-23 17:16:07 +0000
commit7e6347402d921d3e4c867172e153134ea43d15d1 (patch)
treed03524d3c03852595a63aaf8f86c66b13801063d /clang/lib/Sema/SemaCodeComplete.cpp
parent65340a69e14f119e97ea6a68e067a8b0cd3a44df (diff)
downloadbcm5719-llvm-7e6347402d921d3e4c867172e153134ea43d15d1.tar.gz
bcm5719-llvm-7e6347402d921d3e4c867172e153134ea43d15d1.zip
tsan: fix new memory allocator
Deallocate: drain blocks to central cache if cached too much (instead of never drain). Allocate: batch allocate fixed amount of blocks (instead of all blocks). This significantly reduces memory consumption of large heavy-multithreaded programs. llvm-svn: 162447
Diffstat (limited to 'clang/lib/Sema/SemaCodeComplete.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud