From eb2a94de7decf90f1099e9dbb8d8379b81f76f51 Mon Sep 17 00:00:00 2001 From: Evan Brown Date: Mon, 3 Feb 2025 09:39:09 -0800 Subject: [PATCH] Internal change PiperOrigin-RevId: 722692074 --- .../lazy_extensions_ablation_experiment.cc | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 src/google/protobuf/lazy_extensions_ablation_experiment.cc diff --git a/src/google/protobuf/lazy_extensions_ablation_experiment.cc b/src/google/protobuf/lazy_extensions_ablation_experiment.cc deleted file mode 100644 index 73104825e3..0000000000 --- a/src/google/protobuf/lazy_extensions_ablation_experiment.cc +++ /dev/null @@ -1,19 +0,0 @@ -#include "third_party/tcmalloc/experiment.h" -#include "third_party/tcmalloc/experiment_config.h" - -namespace google { -namespace protobuf { -namespace internal { - -// We provide this function because protobuf can't always depend directly on -// TCMalloc experiment framework. This will be linked into binaries that use -// TCMalloc and we can define a weak version of this function that always -// returns false for cases in which TCMalloc is not used. -bool IsLazyExtensionsAblationExperimentActive() { - return tcmalloc::IsExperimentActive( - tcmalloc::Experiment::PROTOBUF_LAZY_EXTENSION_ABLATION); -} - -} // namespace internal -} // namespace protobuf -} // namespace google