Commit Graph

62 Commits

Author SHA1 Message Date
Alex Crichton db270c42ec
Merge pull request #21 from SimonSapin/bind-all-the-functions
Add bindings to all jemalloc public functions
2017-10-30 12:19:13 -05:00
Simon Sapin 87e5eff7e3 Re-export the jemalloc_sys crate as jemallocator::ffi 2017-10-30 16:19:46 +01: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
Simon Sapin dd5861f6de Swap the order of arguments to calloc.
The documented order is (number of objects, size of each object),
though in practice they end up being multiplied together
and so are somewhat interchangeable.
2017-10-30 13:25:02 +01:00
Alex Crichton 4e2a285389 Remove unnecessary `: Sized` bound 2017-10-14 07:16:43 -07:00
Alex Crichton 672dd78cca Merge pull request #18 from SimonSapin/usable_size
Expose `malloc_usable_size` in the high-level crate.
2017-10-14 10:16:14 -04:00
Simon Sapin d24b998401 Expose `malloc_usable_size` in the high-level crate. 2017-10-13 21:37:45 +02:00
Alex Crichton e0f809800e Update gcc dep 2017-09-30 00:47:14 -07:00
Alex Crichton 298b393026 Merge pull request #17 from fitzgen/version-bump-with-debug-feature
Bump jemalloc to 0.1.2; jemalloc-sys to 0.1.3
2017-09-30 07:45:52 +00: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
Alex Crichton ee2277f6be Merge pull request #14 from arthurprs/update
Update jemalloc
2017-07-27 11:30:20 -05:00
arthurprs 08bb4ca869 Update jemalloc
Includes fix to fork deadlock in OS X.
2017-07-27 11:07:15 -03:00
Alex Crichton c202b67d0c Merge pull request #13 from seth-priya/master
Upgrade libc dependency in systest to extend support to ppc64le
2017-07-20 09:03:24 -05:00
Priya Seth 0003dce9bd Upgrade libc dependency in systest to extend support to ppc64le 2017-07-20 03:32:17 +00:00
Alex Crichton 9a0a31f8a5 Fix sytest 2017-07-07 11:15:39 -07:00
Alex Crichton 41abc44d9d Fix tests on OSX 2017-07-07 11:07:16 -07:00
Alex Crichton 0dd43f6dfa Update README 2017-07-07 08:24:26 -07:00
Alex Crichton 834f517f31 Fix malloctl tests 2017-07-07 08:23:27 -07:00
Alex Crichton 5adaa66d52 Merge branch 'new-trait' 2017-07-07 08:21:01 -07:00
Alex Crichton 64e9a326e4 Bump dep on jemalloc-sys 2017-07-07 08:20:42 -07:00
Alex Crichton 1094c9f7bc Bump jemalloc-sys to 0.1.1 2017-07-07 08:20:06 -07:00
Alex Crichton d5dd228f44 Bump to 0.1.1 2017-07-07 08:19:31 -07:00
Alex Crichton 14f1ff1136 Merge pull request #11 from alexcrichton/new-trait
Update with new global allocator API
2017-07-07 10:19:19 -05:00
Alex Crichton ceae58b585 Update with new global allocator API 2017-06-25 11:10:31 -07:00
Alex Crichton e8859fb3fe Merge pull request #10 from alexcrichton/fix-ci
Fix CI and 32-bit builds
2017-05-30 09:33:26 -05: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
Alex Crichton 0e7f50dee3 Merge pull request #9 from BusyJay/update-jemalloc
update jemalloc
2017-05-29 23:37:39 -05:00
Jay Lee 37a54f065b fix allocate_zeroed 2017-05-29 22:21:13 +08:00
Jay Lee e830e9cd39 update jemalloc 2017-05-29 21:16:08 +08:00
Alex Crichton 57c7792eef Merge pull request #8 from kmindg/fix_test
Fix test failure
2017-05-24 09:02:18 -05:00
Kmindg f916af392d Fix test failure
rust-lang/rust#40409 requires a __rust_alloc_zeroed function.
2017-05-24 07:37:39 -04:00
Alex Crichton aaf071da14 Merge pull request #7 from BusyJay/simplify-mallctl
make mallctl more simple
2017-04-08 12:56:42 -07:00
Jay Lee 9211e1e5e6 fix tests 2017-04-07 11:45:03 +08:00
Jay Lee abe2af97b4 show fail stack 2017-04-07 11:28:55 +08:00
Jay Lee 449b58625a make mallctl more simple 2017-04-06 17:27:50 +08:00
Alex Crichton ed779377cb Merge pull request #5 from BusyJay/busyjay/expose-more-api
bindings: add more ABI
2017-04-05 09:14:39 -07:00
Jay Lee 643388a829 update travis 2017-04-05 18:54:47 +08:00
Jay Lee d2d144f405 add more api 2017-04-05 18:31:26 +08:00
Jay Lee 98a92809c3 format file 2017-04-05 18:30:13 +08:00
Alex Crichton a022ca4072 Merge pull request #4 from BusyJay/busyjay/export-api
export jemalloc public API
2017-04-03 15:19:50 -07:00
Jay Lee f5c894b9d4 export jemalloc public API 2017-04-03 14:16:08 +08:00
Alex Crichton 07f25fdf2f Merge pull request #1 from BusyJay/busyjay/update-jemalloc
update jemalloc
2017-03-30 10:41:08 -06:00
Alex Crichton 98d55c082b Merge pull request #2 from BusyJay/busyjay/fix-travis
travis: fix broken target installation
2017-03-30 09:16:40 -06:00
Jay Lee 1c85166967 fix build 2017-03-30 22:42:51 +08:00
Jay Lee 608c5c5d51 update jemalloc 2017-03-30 22:15:07 +08:00
Alex Crichton e947605c16 Update travis token 2016-11-19 09:12:04 -08:00
Alex Crichton bf6b838128 Add a feature to enable profiling 2016-08-07 00:55:49 -07:00
Alex Crichton aee5723b84 Update how libs are installed on travis 2016-06-06 01:20:54 -07:00
Alex Crichton 7df4b84b7b Fix symbol names on android 2016-03-07 13:17:06 -08:00