gnzlbg
db85601eac
Allow jemalloc-sys to pick jemalloc from git
...
This PR allows automatically fetching the latest jemalloc from
its dev branch by defining the environment variable
`JEMALLOC_SYS_GIT_DEV_BRANCH`. This is useful when debugging
whether certain bugs are already fixed upstream, as well as
for detecting whether upstream changes break our tests.
This PR adds two build jobs that test the dev branch on the
tier-1 x86_64 linux and osx targets.
2019-04-03 20:03:09 +02:00
gnzlbg
c57439a1f6
Update version number in readme.
...
Closes #116 .
2019-03-25 15:56:51 +01:00
gnzlbg
ac731c575d
Incorrect path in benchmarks
2019-03-21 14:29:43 +01:00
gnzlbg
801114a68d
Only run clippy and rustfmt on CI if the component is available
2019-03-21 14:29:43 +01:00
gnzlbg
8cb8db4e24
Update clippy lint name in jemalloc-ctl
2019-03-21 14:29:43 +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
ff19eebf75
Add disable_initial_exec_tls description
2019-03-20 10:49:39 +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
c23204616d
Update jemallocator-global dependency on jemallocator
2019-02-27 09:39:39 +01:00
gnzlbg
a90d6f44d0
add rustfmt.toml
2019-02-27 09:39:39 +01:00
gnzlbg
fe6c514f2f
skip jemalloc-ctl tests on x86_64-unknown-linux-musl
2019-02-27 09:39:39 +01:00
gnzlbg
e74630a41b
fix jemalloc-ctl no_std tests
2019-02-27 09:39:39 +01:00
gnzlbg
346c9dea5e
fix background thread examples
2019-02-27 09:39:39 +01:00
gnzlbg
192af49771
add overview of the jemalloc cartes to the main README
2019-02-27 09:39:39 +01:00
gnzlbg
996e5b3926
disable jemalloc-ctl run-time tests on mips64el
2019-02-27 09:39:39 +01:00
gnzlbg
ce78feb2c8
use assert_eq instead of assert in ptr2str tests
2019-02-27 09:39:39 +01:00
gnzlbg
fd6f565209
disable ptr2str test on mips64el
2019-02-27 09:39:39 +01:00
gnzlbg
bc8e37cb69
remove unused unstable feature
2019-02-27 09:39:39 +01:00
gnzlbg
1d793fd29c
fix missing doc link in jemalloc-ctl docs
2019-02-27 09:39:39 +01:00
gnzlbg
ab9b2474b6
detect missing links in jemallocator and jemalloc-sys docs
2019-02-27 09:39:39 +01:00
gnzlbg
8b54b6f9d5
reformat
2019-02-27 09:39:39 +01:00
gnzlbg
491551e09a
update example in readme
2019-02-27 09:39:39 +01:00
gnzlbg
f3b88df26d
add gnzlbg to ctl authors
2019-02-27 09:39:39 +01:00
gnzlbg
1abc6d7ef8
separate safe/unsafe ctl apis, test everything
2019-02-27 09:39:39 +01:00
gnzlbg
7fb8e425e5
rename IntoName -> AsName
2019-02-27 09:39:39 +01:00
gnzlbg
1c5d871828
fix jemallocator tests
2019-02-27 09:39:39 +01:00
gnzlbg
3b40f07216
make the API of jemalloc_ctl sound
2019-02-27 09:39:39 +01:00
gnzlbg
034067f951
mallctl panics on empty or non-null terminated input strings
2019-02-27 09:39:39 +01:00
gnzlbg
61d4c6ec29
jemalloc-ctl does not build for musl targets
2019-02-27 09:39:39 +01:00
gnzlbg
0a711d8fc1
add jemalloc-ctl
2019-02-27 09:39:39 +01:00
Brian Anderson
4d3701f58f
Fix typo in jemalloc-sys docs
2019-02-10 09:43:16 +01:00
William Esz
8603df7a5c
Derive Copy, Clone, Default, Debug
2019-01-28 15:39:42 +01:00
gnzlbg
3392d70bc8
Add jemallocator-global crate
2019-01-15 16:12:53 +01:00
Brian Anderson
2db68249db
Fix a minor typo
2019-01-13 12:28:59 +01:00
Alex Crichton
0981856f58
Try to fix docs build
2019-01-03 07:29:12 -08:00
Alex Crichton
7758a0b8af
Run cargo fmt
2019-01-03 07:28:49 -08:00
Alex Crichton
0253e6c240
Update travis config
2019-01-02 13:52:03 -08:00
gnzlbg
d2cf48f597
format jemalloc-sys build.rs
2018-11-18 12:29:02 +01:00
gnzlbg
d4d31db1f0
move init submodules to right after the clone phase
2018-11-18 12:29:02 +01:00
Erich Gubler
9dbe789c3b
Fix the Appveyor build for gnu
targets all the way up to upstream
...
tests.
For some reason, the tests are hitting linking errors for me locally,
but in Appveyor they run just fine.
2018-11-18 12:27:09 +01:00
Erich Gubler
00973f275d
Remove an unnecessary clone
call in jemalloc-sys/build.rs
2018-11-18 12:26:05 +01:00
gnzlbg
abac96fb62
do not run benchmarks on ci - build them only
2018-11-16 10:45:22 +01:00
gnzlbg
b523d8aa72
fix benchmarks
2018-11-16 10:45:22 +01:00
gnzlbg
08c2168b7d
Make shrink_in_place implementation accurate
2018-11-09 20:05:36 +01:00
gnzlbg
7d5b0ebafd
Fix shrink_in_place implementation
2018-11-09 20:05:36 +01:00
gnzlbg
d32993869a
add a test for shrink_in_place
2018-11-09 20:05:36 +01:00
gnzlbg
698010b8bc
verify that jemallocator contains no std symbols
2018-11-07 20:38:18 +01:00
gnzlbg
7b30e059ca
jemallocator does not require the libc/use_std feature
2018-11-07 20:38:18 +01:00
gnzlbg
b857155821
formatting
2018-11-07 00:26:16 +01:00