Lines Matching +full:ci +full:- +full:configure
1 # jemalloc-sys - Rust bindings to the `jemalloc` C library
3 [![Travis-CI Status]][travis] [![Latest Version]][crates.io] [![docs]][docs.rs]
6 > [`tikv-jemallocator`](https://crates.io/crates/tikv-jemallocator) crate.
27 [`tikv-jemallocator`](https://crates.io/crates/tikv-jemallocator) crate.
31 Most features correspond to `jemalloc` features - the reference is
38 * `profiling` (configure `jemalloc` with `--enable-prof`): Enable heap profiling
41 backtracing, and the configure script chooses the first one in the following
44 * `libunwind` (requires --enable-prof-libunwind)
45 * `libgcc` (unless --disable-prof-libgcc)
46 * `gcc intrinsics` (unless --disable-prof-gcc)
48 * `stats` (configure `jemalloc` with `--enable-stats`): Enable statistics
52 * `debug` (configure `jemalloc` with `--enable-debug`): Enable assertions and
57 background-threads run-time support when building `jemalloc-sys` on some POSIX
58 targets supported by `jemalloc`. Background threads are disabled at run-time
59 by default. This option allows dynamically enabling them at run-time.
62 default at run-time. When set to true, background threads are created on
70 selected pthread-based platforms.
72 * `unprefixed_malloc_on_supported_platforms`: when disabled, configure
73 `jemalloc` with `--with-jemalloc-prefix=_rjem_`. Enabling this causes symbols
80 built with the `--disable-initial-exec-tls` option. It disables the
81 initial-exec TLS model for jemalloc's internal thread-local storage (on those
88 built with the `--disable-cache-oblivious` option. In that case, all large
89 allocations are page-aligned as an implementation artifact. It may severely
90 harm CPU cache utilization. However, the cache-oblivious layout has a cost of
98 `./configure` options of `jemalloc` where the words are capitalized and the
99 hyphens `-` are replaced with underscores `_`(see
103 run-time options string that is processed prior to the `malloc_conf` global
112 * `JEMALLOC_SYS_WITH_LG_PAGE=<lg-page>`: Specify the base 2 log of the allocator
114 default the configure script determines the host's page size and sets the
119 * `JEMALLOC_SYS_WITH_LG_HUGEPAGE=<lg-hugepage>`: Specify the base 2 log of the
124 * `JEMALLOC_SYS_WITH_LG_QUANTUM=<lg-quantum>`: Specify the base 2 log of the
134 This setting is architecture-specific, and although jemalloc includes known
137 modern architectures, this mandates 16-byte alignment (=4), but the glibc
146 not 16-byte-aligned (24, 40, and 56).
148 * `JEMALLOC_SYS_WITH_LG_VADDR=<lg-vaddr>`: Specify the number of significant
149 virtual address bits. By default, the configure script attempts to detect
151 default otherwise. This option may be useful when cross-compiling.
153 [jemalloc_install]: https://github.com/jemalloc/jemalloc/blob/dev/INSTALL.md#advanced-configuration
159 * Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or
160 http://www.apache.org/licenses/LICENSE-2.0)
161 * MIT license ([LICENSE-MIT](LICENSE-MIT) or
169 for inclusion in `tikv-jemalloc-sys` by you, as defined in the Apache-2.0 license,
172 [travis]: https://travis-ci.com/tikv/jemallocator
173 [Travis-CI Status]: https://travis-ci.com/tikv/jemallocator.svg?branch=master
174 [Latest Version]: https://img.shields.io/crates/v/tikv-jemallocator.svg
175 [crates.io]: https://crates.io/crates/tikv-jemallocator
176 [docs]: https://docs.rs/tikv-jemallocator/badge.svg
177 [docs.rs]: https://docs.rs/tikv-jemallocator/