Skip to content

Commit

Permalink
Enable improved_guarded_sampling algorithm for GWP-ASan.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 568359507
Change-Id: I71df5536de2bb7e1faf9c5ae7c8e02d3927f264c
  • Loading branch information
kda authored and copybara-github committed Sep 25, 2023
1 parent b25267d commit 611ee0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tcmalloc/parameters.cc
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ ABSL_CONST_INIT std::atomic<int64_t> Parameters::guarded_sampling_rate_(
ABSL_CONST_INIT std::atomic<bool>
Parameters::resize_cpu_cache_size_classes_enabled_(true);
// TODO(b/263387812): remove when experimentation is complete
ABSL_CONST_INIT std::atomic<bool> Parameters::improved_guarded_sampling_(false);
ABSL_CONST_INIT std::atomic<bool> Parameters::improved_guarded_sampling_(true);
ABSL_CONST_INIT std::atomic<bool> Parameters::release_partial_alloc_pages_(
true);
ABSL_CONST_INIT std::atomic<bool> Parameters::release_pages_from_huge_region_(
Expand Down

0 comments on commit 611ee0c

Please sign in to comment.