From 2449f42427481518e3ca072d7d8db26c7020c3ce Mon Sep 17 00:00:00 2001 From: Alex Brachet Date: Thu, 29 Sep 2022 20:57:10 +0000 Subject: [PATCH] [scudo][Fuchsia] Increase MaxNumCachedHint This brings the value closer to other platforms and allows for future improvements, see D133897. --- compiler-rt/lib/scudo/standalone/size_class_map.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler-rt/lib/scudo/standalone/size_class_map.h b/compiler-rt/lib/scudo/standalone/size_class_map.h index 6b060950abe1..8d5a560dc5ba 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(); };