[all-commits] [llvm/llvm-project] 048ece: [scudo] Calling initCache() in init() of SizeClass...
ChiaHungDuan via All-commits
all-commits at lists.llvm.org
Wed Nov 8 09:32:12 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 048ece44133e743f62fb2d96a74e4158d3c86ee6
https://github.com/llvm/llvm-project/commit/048ece44133e743f62fb2d96a74e4158d3c86ee6
Author: ChiaHungDuan <chiahungduan at google.com>
Date: 2023-11-09 (Thu, 09 Nov 2023)
Changed paths:
M compiler-rt/lib/scudo/standalone/local_cache.h
Log Message:
-----------
[scudo] Calling initCache() in init() of SizeClassAllocatorLocalCache (#71427)
initCacheMaybe() will init all the size class arrays at once and it
doesn't have much work to do even if it supports partial initialization.
This avoids the call to initCacheMaybe in each allocate()/deallocate().
More information about the All-commits
mailing list