[all-commits] [llvm/llvm-project] a7f019: [scudo] secondary allocator cache optimal-fit retr...
ChiaHungDuan via All-commits
all-commits at lists.llvm.org
Tue Aug 8 16:40:31 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a7f0195b440499483839ba284b7c24c4c707a866
https://github.com/llvm/llvm-project/commit/a7f0195b440499483839ba284b7c24c4c707a866
Author: Fernando <fernandosalas at google.com>
Date: 2023-08-08 (Tue, 08 Aug 2023)
Changed paths:
M compiler-rt/lib/scudo/standalone/secondary.h
Log Message:
-----------
[scudo] secondary allocator cache optimal-fit retrieval
changed cache retrieve algorithm to an "optimal-fit" which immediate
returns blocks that are less than 110% of the requested size. This
reduces memory waste while still allowing for an early return without
traversing the entire array of cached blocks
Reviewed By: cferris, Chia-hungDuan
Differential Revision: https://reviews.llvm.org/D157155
More information about the All-commits
mailing list