Allocator::ClassIdToSize() is not free and calling it in every
Allocate/Deallocate has noticeable impact on perf.
Reapplying D31991 with the appropriate fixes.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Paths
| Differential D32024
Cache size per class size in SizeClassAllocatorXLocalCache. ClosedPublic Authored by alekseyshl on Apr 13 2017, 9:41 AM.
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 13 2017, 9:48 AM Closed by commit rL300216: Cache size per class size in SizeClassAllocatorXLocalCache. (authored by alekseyshl). · Explain WhyApr 13 2017, 10:02 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 95154 compiler-rt/trunk/lib/sanitizer_common/sanitizer_allocator_local_cache.h
|