Skip to content

Commit

Permalink
Exercise wider slab opt-out.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 725702812
Change-Id: I84331830dc20ac677d37688f91e7b1031fed2a66
  • Loading branch information
ckennelly authored and copybara-github committed Feb 11, 2025
1 parent 399a167 commit 3b15a6e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tcmalloc/variants.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,13 @@ test_variants = [
"copts": ["-DTCMALLOC_INTERNAL_8K_PAGES", "-DTCMALLOC_INTERNAL_LEGACY_LOCKING"],
"tags": ["noubsan"],
},
{
"name": "no_wide_slabs",
"malloc": "//tcmalloc:tcmalloc",
"deps": ["//tcmalloc:common_8k_pages"],
"copts": ["-DTCMALLOC_INTERNAL_8K_PAGES"],
"env": {"TCMALLOC_DISABLE_WIDER_SLABS": "1"},
},
]

def create_tcmalloc_library(
Expand Down

0 comments on commit 3b15a6e

Please sign in to comment.