[compiler-rt] 2449f42 - [scudo][Fuchsia] Increase MaxNumCachedHint
Alex Brachet via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 29 14:01:48 PDT 2022
Author: Alex Brachet
Date: 2022-09-29T20:57:10Z
New Revision: 2449f42427481518e3ca072d7d8db26c7020c3ce
URL: https://github.com/llvm/llvm-project/commit/2449f42427481518e3ca072d7d8db26c7020c3ce
DIFF: https://github.com/llvm/llvm-project/commit/2449f42427481518e3ca072d7d8db26c7020c3ce.diff
LOG: [scudo][Fuchsia] Increase MaxNumCachedHint
This brings the value closer to other platforms and allows
for future improvements, see D133897.
Added:
Modified:
compiler-rt/lib/scudo/standalone/size_class_map.h
Removed:
################################################################################
diff --git a/compiler-rt/lib/scudo/standalone/size_class_map.h b/compiler-rt/lib/scudo/standalone/size_class_map.h
index 6b060950abe18..8d5a560dc5ba3 100644
--- a/compiler-rt/lib/scudo/standalone/size_class_map.h
+++ b/compiler-rt/lib/scudo/standalone/size_class_map.h
@@ -235,7 +235,7 @@ struct FuchsiaSizeClassConfig {
static const uptr MinSizeLog = 5;
static const uptr MidSizeLog = 8;
static const uptr MaxSizeLog = 17;
- static const u32 MaxNumCachedHint = 10;
+ static const u32 MaxNumCachedHint = 12;
static const uptr MaxBytesCachedLog = 10;
static const uptr SizeDelta = Chunk::getHeaderSize();
};
More information about the llvm-commits
mailing list