Commit Graph

38 Commits

Author SHA1 Message Date
gnzlbg 7f603595e2 Update version number in readme.
Closes #116 .
2019-03-25 11:34:42 +01:00
gnzlbg 12ead2d2bc Fix benchmarks 2019-03-21 14:29:43 +01:00
gnzlbg 814b652603 upgrade workspace 2019-03-21 14:29:43 +01:00
Joel Höner ea444b8758 Add disable_initial_exec_tls feature
This allows libraries that link against jemalloc to be dlopened. 

See

https://github.com/jemalloc/jemalloc/issues/937
https://github.com/jemalloc/jemalloc/blob/dev/INSTALL.md

for detailed explanation of the feature.
2019-03-20 10:49:39 +01:00
gnzlbg 0a711d8fc1 add jemalloc-ctl 2019-02-27 09:39:39 +01:00
gnzlbg 3392d70bc8 Add jemallocator-global crate 2019-01-15 16:12:53 +01:00
gnzlbg b523d8aa72 fix benchmarks 2018-11-16 10:45:22 +01:00
gnzlbg 7b30e059ca jemallocator does not require the libc/use_std feature 2018-11-07 20:38:18 +01:00
gnzlbg bca6aa8759 Fix extent hooks struct 2018-11-06 20:35:50 +01:00
gnzlbg 07764999bd Refactor background threads options
* rename bg_thread feature to background_threads_runtime_support
* add background_threads option to enable background threads at run-time
2018-11-03 09:39:37 +01:00
gnzlbg 6e6b97717b bump jemallocator version to 0.2 2018-10-31 13:16:57 +01:00
Alex Crichton 119fa5f288 Bump jemalloc-sys to 0.1.8 2018-10-20 12:53:19 -07:00
gnzlbg aa420aed20 Document jemalloc-sys; re-enable ctest; add stats feature
* document jemalloc-sys APIs
* document readme for crates.io
* add missing jemalloc apis
* re-enable ctest
* add stats feature
2018-08-13 12:04:37 +02:00
gnzlbg de8bcc6932 bump version 2018-07-04 16:43:04 +02:00
Simon Sapin 980f69c5ba Rename no_prefix feature to unprefixed_malloc_on_supported_platforms 2018-06-25 18:59:27 +02:00
Steven Fackler 9a1a1a7353 Fix bg_thread feature
background threads were previously always disabled since cargo upper
cases feature names. jemallocator also enabled default features on
jemalloc-sys.
2018-06-24 21:28:19 +02:00
Steven Fackler 4f01b49922 Add a no_prefix feature
There are some targets that we still force a prefix since they have
issues when their libc malloc is replaced in this way.

Closes #39
2018-06-24 21:27:26 +02:00
Simon Sapin 607de93c67 Support stable Rust, move `impl Alloc` behind a feature flag 2018-06-13 19:46:20 +02:00
gnzlbg 69ae59c309 bump jemalloc-sys to 0.1.6 and jemallocator to 0.1.8 2018-05-22 17:29:13 +02:00
gnzlbg ed07a3e01f add feature to enable the bg thread (enabled by default) 2018-05-22 16:56:01 +02:00
Simon Sapin 9a56412a58 Upgrade to rustc 1.27.0-nightly (7f3444e1b 2018-04-26) 2018-04-27 13:06:13 +02:00
Alex Crichton 442765d741 Bump dep to 0.1.5 2018-04-15 09:30:53 -07:00
Alex Crichton f4216c950d Bump to 0.1.6 2018-04-15 09:29:39 -07:00
Simon Sapin c66f9d4d51 Implement the GlobalAlloc trait, upgrade to nightly-2018-04-15
CC https://github.com/rust-lang/rust/pull/49669
2018-04-15 08:15:10 +02:00
gnzlbg 56559c7fee Adds benchmarks for nallocx, calloc, alloc, alloc_excess, ralloc, ralloc_excess (#26)
* [bench] nallocx cost

* [jemalloc-sys] detect jemalloc/configure

* [bench] calloc cost

* [bench] alloc/dealloc round-trip

* [bench] alloc_excess when the excess is used/unused

* [jemalloc-sys] detect unsupported targets

* [bench] add test::black_box(ptr) on all benches

* [bench] realloc

* [bench] realloc_excess

* [bench] run benchmarks only on x86_64-unknown-linux-gnu

* move all benchmarks into one file

* remove benchmark build from travis

* remove checks in jemalloc-sys/build.rs for missing configure file

* docs

* fix calloc bench
2017-11-27 10:07:57 -08:00
Simon Sapin 87e5eff7e3 Re-export the jemalloc_sys crate as jemallocator::ffi 2017-10-30 16:19:46 +01:00
Simon Sapin d24b998401 Expose `malloc_usable_size` in the high-level crate. 2017-10-13 21:37:45 +02:00
Nick Fitzgerald d93f0a803b Bump jemalloc to 0.1.2; jemalloc-sys to 0.1.3
This allows publishing the fixed `debug` feature.
2017-09-29 12:38:43 -07:00
Alex Crichton eb631dd7da Fix building debug jemalloc 2017-09-26 14:06:56 -07:00
Alex Crichton 64e9a326e4 Bump dep on jemalloc-sys 2017-07-07 08:20:42 -07:00
Alex Crichton d5dd228f44 Bump to 0.1.1 2017-07-07 08:19:31 -07:00
Alex Crichton ceae58b585 Update with new global allocator API 2017-06-25 11:10:31 -07:00
Alex Crichton ddd38e9ba9 Fix CI and 32-bit builds
Also expand CI slightly and more targeted versions across Rust channels. Finally
also run `systest` on CI.
2017-05-30 07:32:16 -07:00
Alex Crichton bf6b838128 Add a feature to enable profiling 2016-08-07 00:55:49 -07:00
Alex Crichton c38ddafb84 Update dep on libc 2016-03-07 13:14:40 -08:00
Alex Crichton 14c7579af5 Use crates.io libc instead 2016-01-20 17:19:01 -08:00
Alex Crichton c821f19844 Fill out some more project metadata 2016-01-20 17:06:21 -08:00
Alex Crichton 8e7e43739c Initial commit 2016-01-20 17:03:24 -08:00