diff options
author | Alex Shlyapnikov <alekseys@google.com> | 2018-02-24 01:00:27 +0000 |
---|---|---|
committer | Alex Shlyapnikov <alekseys@google.com> | 2018-02-24 01:00:27 +0000 |
commit | 524946232b38103b0582a4aecf0c64e99843f8bd (patch) | |
tree | 3f76ec7ec7ae06096e449a76f5b1bd22d147719a /lldb/packages/Python/lldbsuite/test | |
parent | 725c035f54718fe488fe2fd4b9d5c9576aca502b (diff) | |
download | bcm5719-llvm-524946232b38103b0582a4aecf0c64e99843f8bd.tar.gz bcm5719-llvm-524946232b38103b0582a4aecf0c64e99843f8bd.zip |
[Sanitizers] Increase allocated chunk limit for LargeMmapAllocator
Summary:
There are applications out there which allocate more than 1 << 18 large chunks
of memory (those handled by LargeMmapAllocator, aka secondary allocator).
For 64 bits, secondary allocator stores allocated chunks in a growing on
demand region of memory, growing in blocks of 128K, up to 1 << 20 chunks total.
Sanitizer internal allocator's secondary uses fixed size array storing up
to 1 << 15 chunks (down to 256K from 2Mb of memory used for that array).
Nothing is changed for 32 bits, chunks are still stored in the fixed size
array (up to 1 << 15 chunks).
Reviewers: eugenis
Subscribers: kubamracek, delcypher, #sanitizers, llvm-commits
Differential Revision: https://reviews.llvm.org/D43693
llvm-svn: 326007
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test')
0 files changed, 0 insertions, 0 deletions