aboutsummaryrefslogtreecommitdiff
path: root/cmake/FindJeMalloc.cmake
Commit message (Collapse)AuthorAge
* Remove support for using jemalloc instead of the system allocatorJames McCoy2019-01-19
| | | | | | There was never any investigation done to determine whether using jemalloc was actually a net benefit for nvim. It has been a portability limitation and adds another factor to consider when triaging issues.
* Prefer the static jemalloc library by default on OSXJames McCoy2017-07-07
| | | | | When neovim is dynamically linked against jemalloc on OSX, users are hitting the deadlock described in jemalloc/jemalloc#895.
* cmake: USE_BUNDLED_X instead of X_USE_BUNDLED (#6357)Daniel Hahler2017-03-25
|
* CMake: Remove duplicate PkgConfig lookups.Florian Walch2015-04-29
|
* deps: Add jemalloc as an optional dependencyThiago de Arruda2015-04-13
Jemalloc will be used if the cmake option `USE_JEMALLOC` is enabled(which is the default). To avoid trouble with clang's ASAN, it is disabled by default if the `SANITIZE` option is enabled. Since jemalloc has thread cache for small objects, it fills the gap created by removing klib memory pools. The `xstrdup` funciton(memory.c) had to be reimplemented on top of `xmalloc` to make it work with a custom allocator.