ClickHouse/contrib/jemalloc-cmake
Azat Khuzhin 236cac3d52 Fix jemalloc under OSX (by registering it as default zone explicitly)
In case of OSX jemalloc register itself as a default zone allocator.

But when you link statically then zone_register() will not be called,
and even will be optimized out:

  $ nm clickhouse.patched  | grep -c zone_register
  0

Fix this, by manually calling it.

v2: extern C
2020-06-24 21:05:35 +03:00
..
include/jemalloc jemalloc: fix JEMALLOC_NOTHROW/JEMALLOC_CXX_THROW for freebsd/darwin 2020-06-23 01:47:56 +03:00
include_darwin_aarch64/jemalloc/internal jemalloc: add darwin pregenerated header 2020-06-23 01:47:56 +03:00
include_darwin_x86_64/jemalloc/internal jemalloc: add darwin pregenerated header 2020-06-23 01:47:56 +03:00
include_freebsd_aarch64/jemalloc/internal jemalloc: explicitly disable pthread_setname_np on freebsd (requires 12.1) 2020-06-23 05:45:56 +03:00
include_freebsd_x86_64/jemalloc/internal jemalloc: explicitly disable pthread_setname_np on freebsd (requires 12.1) 2020-06-23 05:45:56 +03:00
include_linux_aarch64 jemalloc: jemalloc_preamble.h is common 2020-06-23 01:47:56 +03:00
include_linux_x86_64 jemalloc: jemalloc_preamble.h is common 2020-06-23 01:47:56 +03:00
CMakeLists.txt Fix jemalloc under OSX (by registering it as default zone explicitly) 2020-06-24 21:05:35 +03:00
README

It allows to integrate JEMalloc into CMake project.