Commit 536cd7ad authored by Vlad Tsyrklevich's avatar Vlad Tsyrklevich Committed by Commit Bot

GWP-ASan: Increase constant defaults

Now that https://crrev.com/627865 has landed, increase the amount of
memory GWP-ASan uses to get back to consuming approximately ~40k per
process.

Bug: 896019
Change-Id: Iac888c38f32078e21cf4295bdd756b67f48d68c0
Reviewed-on: https://chromium-review.googlesource.com/c/1448793
Auto-Submit: Vlad Tsyrklevich <vtsyrklevich@chromium.org>
Reviewed-by: default avatarVitaly Buka <vitalybuka@chromium.org>
Commit-Queue: Vlad Tsyrklevich <vtsyrklevich@chromium.org>
Cr-Commit-Position: refs/heads/master@{#628402}
parent f03aed67
...@@ -27,9 +27,9 @@ const base::Feature kGwpAsan{"GwpAsanMalloc", ...@@ -27,9 +27,9 @@ const base::Feature kGwpAsan{"GwpAsanMalloc",
base::FEATURE_DISABLED_BY_DEFAULT}; base::FEATURE_DISABLED_BY_DEFAULT};
const base::FeatureParam<int> kMaxAllocationsParam{&kGwpAsan, "MaxAllocations", const base::FeatureParam<int> kMaxAllocationsParam{&kGwpAsan, "MaxAllocations",
6}; 7};
const base::FeatureParam<int> kTotalPagesParam{&kGwpAsan, "TotalPages", 20}; const base::FeatureParam<int> kTotalPagesParam{&kGwpAsan, "TotalPages", 30};
const base::FeatureParam<int> kAllocationSamplingParam{ const base::FeatureParam<int> kAllocationSamplingParam{
&kGwpAsan, "AllocationSamplingFrequency", 1000}; &kGwpAsan, "AllocationSamplingFrequency", 1000};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment