Skip to content

Commit

Permalink
Remove tests for want_no_hpaa.
Browse files Browse the repository at this point in the history
It is a no-op.

PiperOrigin-RevId: 688173496
Change-Id: Ie12fb3eed0fdf81f3617fade0dbad6089088219b
  • Loading branch information
ckennelly authored and copybara-github committed Oct 21, 2024
1 parent 0626972 commit 61de000
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 66 deletions.
11 changes: 0 additions & 11 deletions tcmalloc/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -349,17 +349,6 @@ cc_library(
alwayslink = 1,
)

# TEMPORARY. WILL BE REMOVED.
# Add a dep to this if you want your binary to not use hugepage-aware
# allocator.
cc_library(
name = "want_no_hpaa",
copts = TCMALLOC_DEFAULT_COPTS,
visibility = [
"//tcmalloc/testing:__pkg__",
],
)

cc_library(
# TODO(b/199203282, b/296281171): Remove this opt-out.
name = "want_disable_huge_region_more_often",
Expand Down
55 changes: 0 additions & 55 deletions tcmalloc/testing/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -453,20 +453,6 @@ cc_binary(
],
)

cc_binary(
name = "want_hpaa_test_helper_32k_no_hpaa",
testonly = 1,
srcs = ["want_hpaa_test_helper.cc"],
copts = TCMALLOC_DEFAULT_COPTS,
malloc = "//tcmalloc:tcmalloc_large_pages",
deps = [
"//tcmalloc:malloc_extension",
"//tcmalloc:want_no_hpaa",
"@com_google_absl//absl/log:check",
"@com_google_absl//absl/strings",
],
)

cc_binary(
name = "want_hpaa_test_helper_256k",
testonly = 1,
Expand All @@ -480,20 +466,6 @@ cc_binary(
],
)

cc_binary(
name = "want_hpaa_test_helper_256k_no_hpaa",
testonly = 1,
srcs = ["want_hpaa_test_helper.cc"],
copts = TCMALLOC_DEFAULT_COPTS,
malloc = "//tcmalloc:tcmalloc_256k_pages",
deps = [
"//tcmalloc:malloc_extension",
"//tcmalloc:want_no_hpaa",
"@com_google_absl//absl/log:check",
"@com_google_absl//absl/strings",
],
)

cc_binary(
name = "want_hpaa_test_helper_hpaa",
testonly = 1,
Expand All @@ -507,19 +479,6 @@ cc_binary(
],
)

cc_binary(
name = "want_hpaa_test_helper_no_hpaa",
testonly = 1,
srcs = ["want_hpaa_test_helper.cc"],
copts = TCMALLOC_DEFAULT_COPTS,
deps = [
"//tcmalloc:malloc_extension",
"//tcmalloc:want_no_hpaa",
"@com_google_absl//absl/log:check",
"@com_google_absl//absl/strings",
],
)

cc_binary(
name = "want_hpaa_test_helper_small",
testonly = 1,
Expand All @@ -533,20 +492,6 @@ cc_binary(
],
)

cc_binary(
name = "want_hpaa_test_helper_small_no_hpaa",
testonly = 1,
srcs = ["want_hpaa_test_helper.cc"],
copts = TCMALLOC_DEFAULT_COPTS,
malloc = "//tcmalloc:tcmalloc_small_but_slow",
deps = [
"//tcmalloc:malloc_extension",
"//tcmalloc:want_no_hpaa",
"@com_google_absl//absl/log:check",
"@com_google_absl//absl/strings",
],
)

create_tcmalloc_testsuite(
name = "get_stats_test",
srcs = ["get_stats_test.cc"],
Expand Down

0 comments on commit 61de000

Please sign in to comment.