Commit Graph

131 Commits

Author SHA1 Message Date
Jay 9380f5b27b
Make it compile on netbsd (#31)
Signed-off-by: Jay Lee <BusyJayLee@gmail.com>
2022-06-23 23:54:29 -07:00
Jay d4411d7977
*: bump 0.5.0 (#26)
Signed-off-by: Jay Lee <BusyJayLee@gmail.com>
2022-05-24 16:31:42 -07:00
Jay ab0676d77e
update jemalloc to 5.3.0 (#23)
Signed-off-by: Jay Lee <BusyJayLee@gmail.com>
2022-05-18 17:06:46 -07:00
Jay 2706fb3874
*: bump 0.4.3 (#21)
Signed-off-by: Jay Lee <BusyJayLee@gmail.com>
2022-02-21 17:50:45 +08:00
Felix Yan 52de4257fa
Add riscv64 support (#14)
Signed-off-by: Felix Yan <felixonmars@archlinux.org>
2021-09-17 16:52:44 +08:00
Jay Lee e1f0ba0583
*: bump 0.4.2
Signed-off-by: Jay Lee <BusyJayLee@gmail.com>
2021-08-09 15:02:53 +08:00
Brennan Vincent feb2b6667a
Correct jemalloc commit hash (#12)
Signed-off-by: Brennan Vincent <brennan@materialize.com>
2021-08-09 14:56:21 +08:00
Brennan Vincent ac17ea826e
cherry-pick from upstream jemalloc to fix profiling bug (#9)
This depends on tikv/jemalloc#2 , which is a cherry-pick of jemalloc/jemalloc#1604 .

See jemalloc/jemalloc#1605 for details of the bug that this fixes; basically, it makes profiling/sampling fail to work under some conditions. We hit this in practice at Materialize when attempting to switch to tikv/jemallocator.

Signed-off-by: Brennan Vincent <brennan@materialize.com>
2021-08-05 15:21:47 +08:00
Jay 6494cc8660
*: bump 0.4.1 (#5)
Signed-off-by: Jay Lee <BusyJayLee@gmail.com>
2020-11-16 21:10:34 +08:00
Jay 52bed4a531
jemalloc-sys: switch to 5.2.x (#4)
* switch jemalloc to tikv fork

Signed-off-by: Jay Lee <BusyJayLee@gmail.com>
2020-11-16 17:26:07 +08:00
Jay 4b10c8818c
*: extra cleanup (#3)
- Skip publishing docs on master
- Remove appveyor CI

Signed-off-by: Jay Lee <BusyJayLee@gmail.com>
2020-07-22 15:39:21 +08:00
Jay 510c5f0b84
*: update project meta (#2)
As we are going to publish the crate to crates.io, we need a different
name and version. Since native library is upgraded, all versions are
bumpped to 0.4.0. To make it clear which version of jemalloc is used, I
attach a build tag 5.2.1.

And the project are upgraded to 2018 version.

Signed-off-by: Jay Lee <BusyJayLee@gmail.com>
2020-07-21 19:33:59 +08:00
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 6fa4273d50 Remove incorrect documentation
Signed-off-by: David McNeil <mcneil.david2@gmail.com>
2019-12-11 18:18:14 +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
gnzlbg 7fef687624 Bump patch versions again 2019-06-16 17:39:15 +02:00
gnzlbg c0bdff5533 Bump patch versions 2019-06-14 12:02:38 +02:00
gnzlbg 01b2dc8923 Document that the MALLOC_CONF env var might be prefixed 2019-04-25 10:03:12 +02:00
gnzlbg 559d949860 Update links 2019-04-25 10:03:12 +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
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 ab9b2474b6 detect missing links in jemallocator and jemalloc-sys docs 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
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 7758a0b8af Run `cargo fmt` 2019-01-03 07:28:49 -08:00
gnzlbg d2cf48f597 format jemalloc-sys build.rs 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 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
gnzlbg 81b15f1322 Re-enable configure file verification 2018-11-07 00:26:16 +01:00
gnzlbg 16c76c23a5 clean up build.rs a bit 2018-11-07 00:26:16 +01:00
gnzlbg bca6aa8759 Fix extent hooks struct 2018-11-06 20:35:50 +01:00
gnzlbg fdb5251af2 Run jemalloc tests on CI while building jemalloc-sys
In the following platforms, jemalloc's tests currently fail:

* `{i686,x86_64}-apple-darwin`: due to https://github.com/alexcrichton/jemallocator/issues/85
2018-11-04 19:06:37 +01:00
gnzlbg 0b7c2fdbb4 use clippy on CI 2018-11-03 19:21:58 +01:00
gnzlbg f2f17b9557 disable background threads in musl targets 2018-11-03 09:39:37 +01:00
gnzlbg de2fd16d95 turn unprefixed request failure into a warning 2018-11-03 09:39:37 +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
gnzlbg d342b97a58 Make malloc_stats_print argument nullable 2018-10-31 13:16:57 +01:00
gnzlbg d9463c3f72 reformat 2018-10-30 22:41:07 +01:00
gnzlbg 9a775f8200 Update ctest to 0.2.5. 2018-10-30 13:29:40 +01:00
gnzlbg e2a362d288 Expose malloc_conf 2018-10-30 13:29:40 +01:00
gnzlbg 915d2d14d7 Jemalloc --disable-thp option has been removed 2018-10-23 14:49:48 +02:00