aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorslizyukalex <slizyukalex@yandex-team.com>2025-05-28 22:24:14 +0300
committerslizyukalex <slizyukalex@yandex-team.com>2025-05-28 23:13:18 +0300
commit7837a7ca292a9b4650b3f98f19eba0aced4ae46b (patch)
tree2ee6975ee91e82cca970cb0698ed2a9bf4f1923e
parentb368b3ad1ad8414d6e75a2e00a87ec01e37f5752 (diff)
downloadydb-7837a7ca292a9b4650b3f98f19eba0aced4ae46b.tar.gz
Switch default allocator for ARM + linux to TCMALLOC
Switch default allocator commit_hash:7580a407657f44a689a1c96b4a95a2081a913893
-rw-r--r--build/ymake.core.conf5
1 files changed, 4 insertions, 1 deletions
diff --git a/build/ymake.core.conf b/build/ymake.core.conf
index c36714a94cb..672c88adc5f 100644
--- a/build/ymake.core.conf
+++ b/build/ymake.core.conf
@@ -368,7 +368,7 @@ macro NO_LTO() {
DEFAULT_ALLOCATOR=LF
# tag:allocator
-when ($OS_ANDROID == "yes" || $OS_WINDOWS == "yes" || $ARCH_TYPE_32 == "yes" || $ARCH_AARCH64 == "yes") {
+when ($OS_ANDROID == "yes" || $OS_WINDOWS == "yes" || $ARCH_TYPE_32 == "yes") {
DEFAULT_ALLOCATOR=J
}
@@ -390,6 +390,9 @@ when ($OS_LINUX == "yes") {
elsewhen ($ARCH_X86_64) {
DEFAULT_ALLOCATOR=TCMALLOC_TC
}
+ elsewhen ($ARCH_AARCH64) {
+ DEFAULT_ALLOCATOR=TCMALLOC_TC
+ }
}
# tag:allocator