Commit Graph

326 Commits

Author SHA1 Message Date
Jay Lee 3b21b21bc9
fix name
Signed-off-by: Jay Lee <BusyJayLee@gmail.com>
2023-07-28 00:17:23 +08:00
Jay Lee 66797a54ea
Merge branch 'main'
Signed-off-by: Jay Lee <BusyJayLee@gmail.com>
2023-07-28 00:09:46 +08:00
Jay Lee 0f8983f718
Move README to jemallocator
Signed-off-by: Jay Lee <BusyJayLee@gmail.com>
2023-07-28 00:05:57 +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
Frank 61999f26bb
add disable_initial_exec_tls feature for jemalloc-ctl (#59)
Signed-off-by: Likai Feng <likai.feng@metabit-trading.com>
2023-07-19 18:27:19 +08:00
Arnav Singh 0fef73074b
Fix definition of `c_bool` for non-MSVC targets (#54)
Fixes #53

Signed-off-by: Arnav Singh <me@arnavion.dev>
2023-05-10 01:28:12 -07: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
zhaixiaojuan@loongson.cn 0cc7b0ef9f
Add loongarch64 support (#42)
Signed-off-by: zhaixiaojuan <zhaixiaojuan@loongson.cn>
2023-02-07 03:30:10 -08: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
Andrew Kane fa2ddc0014
Include license files in jemallocator and jemalloc-sys crates (#43)
Signed-off-by: Andrew Kane <andrew@ankane.org>
2022-12-11 22:26:59 -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
Amanieu d'Antras 4e682e9243
Fix build on riscv64gc-unknown-linux-gnu (#40)
This works around the mismatch between the GNU target and rustc target.

Fixes #36

Signed-off-by: Amanieu d'Antras <amanieu@gmail.com>
2022-09-29 00:25:17 -07:00
Adam Gutglick 7513625f24
Correct an example in the docs (#39)
Signed-off-by: Adam Gutglick <adam@pinecone.io>
2022-09-04 08:07:40 -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 Lee 23d25f97c8
*: correct README path and publish date
Signed-off-by: Jay Lee <BusyJayLee@gmail.com>
2022-05-24 16:58:21 -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
Felix Yan 52de4257fa
Add riscv64 support (#14)
Signed-off-by: Felix Yan <felixonmars@archlinux.org>
2021-09-17 16:52:44 +08:00
Yilin Chen 2d242ee725
Merge pull request #13 from BusyJay/bump-0.4.2 2021-08-09 16:01:46 +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
Petros Angelatos 7c3194a100
update to paste 1 (#11)
Signed-off-by: Petros Angelatos <petrosagg@gmail.com>
2021-08-05 22:58:15 +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 e5f53b1441
ci: switch to GitHub actions (#10)
- ppc64le is not checked as there is no ppc64le runners.
- valgrind is removed.
- no_std check is removed

Signed-off-by: Jay Lee <BusyJayLee@gmail.com>
2021-08-05 01:08:14 +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 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