Allocator::ClassIdToSize() is not free and calling it in every
Allocate/Deallocate has noticeable impact on perf.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Paths
| Differential D31991
Cache size per class size in SizeClassAllocatorXLocalCache. ClosedPublic Authored by alekseyshl on Apr 12 2017, 2:28 PM.
Details Summary Allocator::ClassIdToSize() is not free and calling it in every
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Apr 12 2017, 2:38 PM Closed by commit rL300107: Cache size per class size in SizeClassAllocatorXLocalCache. (authored by alekseyshl). · Explain WhyApr 12 2017, 2:57 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 95033 compiler-rt/trunk/lib/sanitizer_common/sanitizer_allocator_local_cache.h
|