diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2012-08-23 17:16:07 +0000 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2012-08-23 17:16:07 +0000 |
| commit | 7e6347402d921d3e4c867172e153134ea43d15d1 (patch) | |
| tree | d03524d3c03852595a63aaf8f86c66b13801063d /llvm/lib/Target/Sparc/SparcMachineFunctionInfo.cpp | |
| parent | 65340a69e14f119e97ea6a68e067a8b0cd3a44df (diff) | |
| download | bcm5719-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 'llvm/lib/Target/Sparc/SparcMachineFunctionInfo.cpp')
0 files changed, 0 insertions, 0 deletions

