aboutsummaryrefslogblamecommitdiff
path: root/www/chromium/files/patch-components_gwp__asan_client_gwp__asan.cc
blob: 308037d140fbb13b3501349d8eb0cf5cad6e0eba (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
                                                                       
                                          
                             







                                                                                                
--- components/gwp_asan/client/gwp_asan.cc.orig	2024-05-21 18:07:39 UTC
+++ components/gwp_asan/client/gwp_asan.cc
@@ -74,7 +74,7 @@ namespace {
 // ProcessSamplingBoost is the multiplier to increase the
 // ProcessSamplingProbability in scenarios where we want to perform additional
 // testing (e.g., on canary/dev builds).
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD)
 constexpr int kDefaultMaxAllocations = 50;
 constexpr int kDefaultMaxMetadata = 210;
 constexpr int kDefaultTotalPages = kCpuIs64Bit ? 2048 : kDefaultMaxMetadata * 2;