Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Prefer the static jemalloc library by default on OSX | James McCoy | 2017-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 Hahler | 2017-03-25 |
| | |||
* | CMake: Remove duplicate PkgConfig lookups. | Florian Walch | 2015-04-29 |
| | |||
* | deps: Add jemalloc as an optional dependency | Thiago de Arruda | 2015-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. |