diff options
author | Alex Shlyapnikov <alekseys@google.com> | 2017-04-12 21:44:56 +0000 |
---|---|---|
committer | Alex Shlyapnikov <alekseys@google.com> | 2017-04-12 21:44:56 +0000 |
commit | 28db59a5ee579a34296f69fc79670ce051567b78 (patch) | |
tree | 06242b2c6803cc710ddb76371ea79eeaf2db822f /lib/msan/tests | |
parent | d1ca180de86b6d4f0b1bd3e19c320193c2352b3e (diff) |
Cache size per class size in SizeClassAllocatorXLocalCache.
Summary:
Allocator::ClassIdToSize() is not free and calling it in every
Allocate/Deallocate has noticeable impact on perf.
Reviewers: eugenis, kcc
Subscribers: llvm-commits, kubamracek
Differential Revision: https://reviews.llvm.org/D31991
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@300107 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/msan/tests')
0 files changed, 0 insertions, 0 deletions