blob: 308037d140fbb13b3501349d8eb0cf5cad6e0eba (
plain) (
tree)
|
|
--- 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;
|