Commit Graph

290 Commits

Author SHA1 Message Date
Jay 21c54a2446
*: update jemalloc and simplify build (#1)
- Remove all cross compilation and reduce supporting platforms
- Remove complicated checks and builds
- Update jemalloc to 5.2.1
- Fix gnzlbg/jemallocator#147

Signed-off-by: Jay Lee <BusyJayLee@gmail.com>
2020-07-21 11:18:43 +08:00
Jay Lee a09f18a739
Make CI green again
- disable configure verify check
- update configure file and make clippy happy
- check autoconf version
- fix allow_failures
- i686-apple target are not supported now
- use latest travis syntax
- less verbose and allow non-master check fail
    Upstream doesn't guarantee configure file matches across platform and
    versions. Checking configure file can fail easily
- mute alloc_trait tests
- rich diff
- remove unsupported platform
    i686-apple-darwin is removed from nightly and beta.
- make clippy and rustfmt happy

Signed-off-by: Jay Lee <BusyJayLee@gmail.com>
2020-07-17 21:22:46 +08:00
David McNeil c27a859e98 Add undefined behavior docs
Signed-off-by: David McNeil <mcneil.david2@gmail.com>
2019-12-11 18:18:14 +01:00
David McNeil d292b3879c Assume pointer is not null in GlobalAlloc::dealloc
Signed-off-by: David McNeil <mcneil.david2@gmail.com>
2019-12-11 18:18:14 +01:00
David McNeil 6fa4273d50 Remove incorrect documentation
Signed-off-by: David McNeil <mcneil.david2@gmail.com>
2019-12-11 18:18:14 +01:00
gnzlbg a5e8090378
Add Github Actions 2019-11-28 14:13:41 +01:00
king6cong 560491226e Adapt android toolchain names 2019-10-11 12:25:21 +02:00
king6cong e3e08d2189 Use correct symbol prefix when using prebuilt jemalloc 2019-10-11 12:25:21 +02:00
Forest Anderson 7e95293b29 Added modern instructions 2019-10-10 14:22:16 +02:00
SlightlyOutOfPhase d5fccc7fca Fix wrong spelling of `unreachable unchecked`.
This is why the CI for jemallocator is failing right now.
2019-08-12 10:11:40 +02:00
gnzlbg f473b10921 Better document MIN_ALIGN and assume allocs are not zero-sized 2019-07-31 11:34:43 +02:00
gnzlbg bfc8919297 Do not hide the docs of MIB keys in jemalloc-ctl 2019-06-16 17:39:43 +02:00
gnzlbg 7fef687624 Bump patch versions again 2019-06-16 17:39:15 +02:00
gnzlbg 1f5df45ba5 jemallocator jemalloc-ctl dev-dependency does not need to be exact 2019-06-14 12:05:06 +02:00
gnzlbg c0bdff5533 Bump patch versions 2019-06-14 12:02:38 +02:00
Cyril Plisko 4957fb2925 Fix link to jemallocator-sys' README.md file 2019-04-29 11:05:36 +02:00
gnzlbg 01b2dc8923 Document that the MALLOC_CONF env var might be prefixed 2019-04-25 10:03:12 +02:00
gnzlbg cd2d373c20 Try to fix docs.rs 2019-04-25 10:03:12 +02:00
gnzlbg 559d949860 Update links 2019-04-25 10:03:12 +02:00
Brian Anderson 522c032dc3 Run rustfmt 2019-04-05 16:15:33 +02:00
Brian Anderson fae1357e79 jemalloc-ctl: impl std::error::Error for Error 2019-04-05 16:15:33 +02:00
gnzlbg 0b163c7be0 Temporarily disable profiling builds on dev-branch 2019-04-03 20:03:09 +02:00
gnzlbg 1de333fa02 Do not verify shipped configure files when testing the git dev branch 2019-04-03 20:03:09 +02:00
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