diff options
author | Kostya Kortchinsky <kostyak@google.com> | 2019-01-24 15:56:54 +0000 |
---|---|---|
committer | Kostya Kortchinsky <kostyak@google.com> | 2019-01-24 15:56:54 +0000 |
commit | f0fbeaf44ae55b12490eaf93184d9c9a17d34067 (patch) | |
tree | e2ef650cc02e67d5a45f1be698cc43ddd58e00af /llvm/lib/CodeGen/MachineModuleInfo.cpp | |
parent | 2f018de6a35ac49bceb46754858fce594a4d6c46 (diff) | |
download | llvm-f0fbeaf44ae55b12490eaf93184d9c9a17d34067.zip llvm-f0fbeaf44ae55b12490eaf93184d9c9a17d34067.tar.gz llvm-f0fbeaf44ae55b12490eaf93184d9c9a17d34067.tar.bz2 |
[scudo] Tuning changes based on feedback from current use
Summary:
This tunes several of the default parameters used within the allocator:
- disable the deallocation type mismatch on Android by default; this
was causing too many issues with third party libraries;
- change the default `SizeClassMap` to `Dense`, it caches less entries
and is way more memory efficient overall;
- relax the timing of the RSS checks, 10 times per second was too much,
lower it to 4 times (every 250ms), and update the test so that it
passes with the new default.
Reviewers: eugenis
Reviewed By: eugenis
Subscribers: srhines, delcypher, #sanitizers, llvm-commits
Differential Revision: https://reviews.llvm.org/D57116
llvm-svn: 352057
Diffstat (limited to 'llvm/lib/CodeGen/MachineModuleInfo.cpp')
0 files changed, 0 insertions, 0 deletions