Commit Graph

54 Commits

Author SHA1 Message Date
Jay Lee 66797a54ea
Merge branch 'main'
Signed-off-by: Jay Lee <BusyJayLee@gmail.com>
2023-07-28 00:09:46 +08:00
Jay 02113e69f1
*: bump 0.5.4 (#62)
Close #56

Signed-off-by: Jay Lee <BusyJayLee@gmail.com>
2023-07-27 13:59:08 +08:00
Carlos Galdino fd00e12cc5
Add `disable_cache_oblivious` feature (#51)
When this feature is used, it will build Jemalloc with
`--disable-cache-oblivious`. The feature is disabled by default.

Signed-off-by: Carlos Galdino <cgaldino@apple.com>
2023-04-17 23:51:21 -07:00
Jay Lee 9f7b1873fd
Merge branch 'main'
Signed-off-by: Jay Lee <BusyJayLee@gmail.com>
2023-02-06 15:37:47 +08:00
Jay 444e0efb81
jemalloc-sys: bump 0.5.3 (#48)
Signed-off-by: Jay Lee <BusyJayLee@gmail.com>
2023-02-05 23:30:20 -08:00
Jay 725713e565
jemalloc-sys: remove fs-extra (#47)
Signed-off-by: Jay Lee <BusyJayLee@gmail.com>
2023-02-02 22:37:52 -08:00
Jay Lee 308be1a429
Merge branch 'main'
Signed-off-by: Jay Lee <BusyJayLee@gmail.com>
2022-09-29 22:56:25 +08:00
Jay 8b886be167
jemalloc-sys: bump 0.5.2 (#41)
Signed-off-by: Jay Lee <BusyJayLee@gmail.com>
2022-09-29 04:57:21 -07:00
Jay Lee 1e3c0b890e
Merge branch 'main'
Signed-off-by: Jay Lee <BusyJayLee@gmail.com>
2022-06-24 11:18:39 -07:00
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 2ba4ecca63
*: bump 0.5.0 (#26)
Signed-off-by: Jay Lee <BusyJayLee@gmail.com>
2022-05-24 16:40:38 -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 2ffd08eeb8
update jemalloc to 5.3.0 (#23)
Signed-off-by: Jay Lee <BusyJayLee@gmail.com>
2022-05-14 05:19:25 +08:00
Jay 161451ba9b
*: revert name (#25)
I will also publish this crate in the name of jemallocator. Because tikv-jemallocator is already used by several projects, to make less disturbing to dependents, two crates will be published at the same time with only name differences.

The tikv-xxx versions are maintained in the branch tikv-main.

Signed-off-by: Jay Lee <BusyJayLee@gmail.com>
2022-04-29 16:06:09 +08:00
Jay 2706fb3874
*: bump 0.4.3 (#21)
Signed-off-by: Jay Lee <BusyJayLee@gmail.com>
2022-02-21 17:50:45 +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
Jay 6494cc8660
*: bump 0.4.1 (#5)
Signed-off-by: Jay Lee <BusyJayLee@gmail.com>
2020-11-16 21:10:34 +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
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 559d949860 Update links 2019-04-25 10:03:12 +02: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 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 4ac247967f Update cargo metadata for jemalloc-sys 2018-10-20 12:54:21 -07: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 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
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
gnzlbg fa84575503 don't use cp or diff 2018-05-04 16:46:30 +02:00
gnzlbg 8429f769d5 disable -Wextra; do a make distclean before configure 2018-05-02 10:08:22 +02:00
Alex Crichton f295f6873b Bump jemalloc-sys to 0.1.5 2018-04-15 09:30:22 -07: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 e6ea8a94b4 Add bindings to all jemalloc public functions
That is, those documented in http://jemalloc.net/jemalloc.3.html

For example `malloc` and `free` can be useful when implementing
callbacks for a C library that doesn’t provide a size when deallocating:
https://www.freetype.org/freetype2/docs/reference/ft2-system_interface.html
2017-10-30 16:13:25 +01:00
Alex Crichton e0f809800e Update gcc dep 2017-09-30 00:47:14 -07: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
arthurprs 08bb4ca869 Update jemalloc
Includes fix to fork deadlock in OS X.
2017-07-27 11:07:15 -03:00
Alex Crichton 1094c9f7bc Bump jemalloc-sys to 0.1.1 2017-07-07 08:20:06 -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