commit | ab007d45dbada20d1564665b9683cc58798a9336 | [log] [tgz] |
---|---|---|
author | ChiaHungDuan <chiahungduan@google.com> | Wed Nov 08 09:31:58 2023 -0800 |
committer | Copybara-Service <copybara-worker@google.com> | Wed Nov 08 09:35:29 2023 -0800 |
tree | 8245b34c41bc9464183e51ab13aa71b6e4797cff | |
parent | c0cbdacbdb2be94a99031f92b4b46ceafb039f58 [diff] |
[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(). GitOrigin-RevId: 048ece44133e743f62fb2d96a74e4158d3c86ee6