From b3da45786d1bd17cf5f30ed357269ab113631195 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ra=C3=BAl=20Mar=C3=ADn?= Date: Thu, 26 Sep 2024 12:22:40 +0200 Subject: [PATCH] Update CMakeLists.txt --- contrib/jemalloc-cmake/CMakeLists.txt | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/contrib/jemalloc-cmake/CMakeLists.txt b/contrib/jemalloc-cmake/CMakeLists.txt index 9ebd64db81a..59a424e25d0 100644 --- a/contrib/jemalloc-cmake/CMakeLists.txt +++ b/contrib/jemalloc-cmake/CMakeLists.txt @@ -164,17 +164,6 @@ target_compile_definitions(_jemalloc PRIVATE -DJEMALLOC_NO_PRIVATE_NAMESPACE) # Because our coverage callbacks call malloc, and recursive call of malloc could not work. target_compile_options(_jemalloc PRIVATE ${WITHOUT_COVERAGE_FLAGS_LIST}) -# We don't enable Jemalloc DEBUG and log anymore since those have a big impact in performance, specially noticeable -# when starting the process (really common in stateless tests with the client) -#if (CMAKE_BUILD_TYPE_UC STREQUAL "DEBUG") -# target_compile_definitions(_jemalloc PRIVATE -# -DJEMALLOC_DEBUG=1 -# # Usage examples: -# # - MALLOC_CONF=log:. -# # - MALLOC_CONF='log:core.malloc.exit|core.sallocx.entry|core.sdallocx.entry' -# -DJEMALLOC_LOG=1) -#endif () - target_compile_definitions(_jemalloc PRIVATE -DJEMALLOC_PROF=1) # jemalloc provides support two unwind flavors: