Skip to content

Commit 1c68be2

Browse files
authored
bazel: update tcmalloc (#23671)
Fixes #23580 Full diff: google/tcmalloc@5940033...e33c7bc Signed-off-by: Keith Smiley <[email protected]>
1 parent 94b0d9e commit 1c68be2

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

bazel/repository_locations.bzl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -336,12 +336,12 @@ REPOSITORY_LOCATIONS_SPEC = dict(
336336
project_name = "tcmalloc",
337337
project_desc = "Fast, multi-threaded malloc implementation",
338338
project_url = "https://github.com/google/tcmalloc",
339-
version = "59400332b9cff9920b6a1da203ac1575272a9f44",
340-
sha256 = "3e0a0c135318fa69e748b140d32cb24a64d885bedfeb5f23fa01cc0d7859bbf0",
339+
version = "e33c7bc60415127c104006d3301c96902f98d42a",
340+
sha256 = "14a2c91b71d6719558768a79671408c9acd8284b418e80386c5888047e2c15aa",
341341
strip_prefix = "tcmalloc-{version}",
342342
urls = ["https://github.com/google/tcmalloc/archive/{version}.tar.gz"],
343343
use_category = ["dataplane_core", "controlplane"],
344-
release_date = "2022-08-06",
344+
release_date = "2022-10-24",
345345
cpe = "N/A",
346346
license = "Apache-2.0",
347347
license_url = "https://github.com/google/tcmalloc/blob/{version}/LICENSE",

test/common/stats/thread_local_store_test.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1381,7 +1381,7 @@ TEST_F(StatsThreadLocalStoreTestNoFixture, MemoryWithoutTlsRealSymbolTable) {
13811381
TestUtil::forEachSampleStat(
13821382
100, true, [this](absl::string_view name) { store_.counterFromString(std::string(name)); });
13831383
EXPECT_MEMORY_EQ(memory_test.consumedBytes(), 688080); // July 2, 2020
1384-
EXPECT_MEMORY_LE(memory_test.consumedBytes(), 0.75 * million_);
1384+
EXPECT_MEMORY_LE(memory_test.consumedBytes(), 0.85 * million_);
13851385
}
13861386

13871387
TEST_F(StatsThreadLocalStoreTestNoFixture, MemoryWithTlsRealSymbolTable) {
@@ -1390,7 +1390,7 @@ TEST_F(StatsThreadLocalStoreTestNoFixture, MemoryWithTlsRealSymbolTable) {
13901390
TestUtil::forEachSampleStat(
13911391
100, true, [this](absl::string_view name) { store_.counterFromString(std::string(name)); });
13921392
EXPECT_MEMORY_EQ(memory_test.consumedBytes(), 827616); // Sep 25, 2020
1393-
EXPECT_MEMORY_LE(memory_test.consumedBytes(), 0.9 * million_);
1393+
EXPECT_MEMORY_LE(memory_test.consumedBytes(), 0.97 * million_);
13941394
}
13951395

13961396
TEST_F(StatsThreadLocalStoreTest, ShuttingDown) {

test/integration/stats_integration_test.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,6 +378,7 @@ TEST_P(ClusterMemoryTestRunner, MemoryLargeClusterSize) {
378378
// searching
379379
// 2021/08/18 13176 40577 40700 Support slow start mode
380380
// 2022/03/14 42000 Fix test flakes
381+
// 2022/10/27 44000 Update tcmalloc
381382

382383
// Note: when adjusting this value: EXPECT_MEMORY_EQ is active only in CI
383384
// 'release' builds, where we control the platform and tool-chain. So you
@@ -398,7 +399,7 @@ TEST_P(ClusterMemoryTestRunner, MemoryLargeClusterSize) {
398399
// https://github.com/envoyproxy/envoy/issues/12209
399400
// EXPECT_MEMORY_EQ(m_per_cluster, 37061);
400401
}
401-
EXPECT_MEMORY_LE(m_per_cluster, 42000); // Round up to allow platform variations.
402+
EXPECT_MEMORY_LE(m_per_cluster, 44000); // Round up to allow platform variations.
402403
}
403404

404405
TEST_P(ClusterMemoryTestRunner, MemoryLargeHostSizeWithStats) {

0 commit comments

Comments
 (0)