summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGBlocks.cpp
diff options
context:
space:
mode:
authorAlex Shlyapnikov <alekseys@google.com>2017-10-26 17:59:24 +0000
committerAlex Shlyapnikov <alekseys@google.com>2017-10-26 17:59:24 +0000
commit9b4e32785ab10c28240634aa0a2a2f5100704d6f (patch)
treeb242dfb7f0a4fb1f48fcd7789e56a6342a376213 /clang/lib/CodeGen/CGBlocks.cpp
parent593ec59c7eb1ea97e59aa0871d267d51f6c62133 (diff)
downloadbcm5719-llvm-9b4e32785ab10c28240634aa0a2a2f5100704d6f.tar.gz
bcm5719-llvm-9b4e32785ab10c28240634aa0a2a2f5100704d6f.zip
[Sanitizers] Set default allocator_release_to_os_interval_ms to 5 seconds
Summary: With new release to OS approach (see D38245) it's reasonable to enable it by default. Setting allocator_release_to_os_interval_ms to 5000 seems to be a reasonable default (might be tuned later, based on the feedback). Also delaying the first release to OS in each bucket for at least allocator_release_to_os_interval_ms after the first allocation to prevent just allocated memory to be madvised back to OS and let short lived processes to avoid release to OS overhead altogether. Reviewers: cryptoad Subscribers: kubamracek, llvm-commits, mehdi_amini Differential Revision: https://reviews.llvm.org/D39318 llvm-svn: 316683
Diffstat (limited to 'clang/lib/CodeGen/CGBlocks.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud