Commit Graph

174 Commits

Author SHA1 Message Date
gnzlbg 2276a582e0 use jemalloc submodule 2018-05-03 16:41:15 +02:00
gnzlbg 1babc4eb87 re-add jemalloc submodule 2018-05-03 16:37:24 +02:00
gnzlbg 0390383c88 fixup 2018-05-03 16:07:07 +02:00
gnzlbg a9a848abe1 use wget to fetch jemalloc instead of git 2018-05-03 10:07:11 +02:00
gnzlbg bad4887939 add missing dockerfile 2018-05-03 01:03:38 +02:00
gnzlbg cec5241d26 fixup 2018-05-03 01:00:17 +02:00
gnzlbg 33ef06d560 use custom docker images 2018-05-03 00:43:09 +02:00
gnzlbg 68f60d8803 build jemalloc in OUT_DIR 2018-05-03 00:23:40 +02:00
gnzlbg ffa4d63746 more appveyor fixes 2018-05-02 17:40:53 +02:00
gnzlbg 4d6e2f2301 fix appveyor build failure 2018-05-02 17:34:13 +02:00
gnzlbg f32d38139a add i586-pc-windows-msvc tier2 target to CI 2018-05-02 17:29:58 +02:00
gnzlbg 7e4a113911 add appveyor ci script 2018-05-02 17:28:25 +02:00
gnzlbg 7e6a682043 ship configuration files; add build.rs option to verify them 2018-05-02 17:18:59 +02:00
gnzlbg a66d454dff pass -melf_32 flag to i{586,686}-unknown-linux-gnu builds 2018-05-02 16:06:16 +02:00
gnzlbg afa81a7298 disable running jemalloc tests 2018-05-02 14:07:55 +02:00
gnzlbg 350e3960ad verbose output 2018-05-02 13:56:26 +02:00
gnzlbg 8ab02bb7a6 run autogen.sh in a prebuild step
* run autogen.sh in a pre-build step in CI
* build.rs runs autogen.sh + make distclean only if configure is
  not found
2018-05-02 12:53:10 +02:00
gnzlbg b863b6d458 move .travis.yml script to ci/run.sh 2018-05-02 11:33:27 +02:00
gnzlbg 2f1755a875 use core instead of std 2018-05-02 11:26:15 +02:00
gnzlbg d2c2fe6d4c no need for git clean now with make distclean 2018-05-02 11:16:51 +02:00
gnzlbg a1a0366ee7 more build dbg 2018-05-02 11:11:56 +02:00
gnzlbg 4aec146adc disable travis-ci automatic submodule fetching; manually fetch jemalloc 5.1rc1 2018-05-02 11:07:16 +02:00
gnzlbg 8429f769d5 disable -Wextra; do a make distclean before configure 2018-05-02 10:08:22 +02:00
gnzlbg 22576ff7dc upgrade to jemalloc 5.1 RC1 2018-05-02 10:08:22 +02:00
gnzlbg 36089d528f allow arm and armv7 android to fail 2018-05-02 10:08:22 +02:00
gnzlbg fbf31da0e0 --disable-tls is not a jemalloc 5 option 2018-05-02 10:08:22 +02:00
gnzlbg 8d1adbfd19 oom is no longer part of GlobalAlloc 2018-05-02 10:08:22 +02:00
gnzlbg 00333ed768 allow(non_snake_case) for MALLOCX_ALIGN macro 2018-05-02 10:05:53 +02:00
gnzlbg 068d5ec7b7 [jemallocator] add minimum alignment for mips64, s390x, sparc64 2018-05-02 10:05:53 +02:00
gnzlbg 9e3c62848f [ci] use cross 2018-05-02 10:05:53 +02:00
Alex Crichton 1d463baa04 Fix invokation of `oom` in tests 2018-04-27 08:54:20 -07:00
Simon Sapin de7ab8adf3 Make jemallocator no_std 2018-04-27 13:06:13 +02:00
Simon Sapin 9a56412a58 Upgrade to rustc 1.27.0-nightly (7f3444e1b 2018-04-26) 2018-04-27 13:06:13 +02:00
Alex Crichton 442765d741 Bump dep to 0.1.5 2018-04-15 09:30:53 -07:00
Alex Crichton f295f6873b Bump jemalloc-sys to 0.1.5 2018-04-15 09:30:22 -07:00
Alex Crichton f4216c950d Bump to 0.1.6 2018-04-15 09:29:39 -07:00
Alex Crichton b87b78e734
Merge pull request #40 from SimonSapin/global-alloc
Implement the GlobalAlloc trait, upgrade to nightly-2018-04-15
2018-04-15 11:29:19 -05:00
Simon Sapin c66f9d4d51 Implement the GlobalAlloc trait, upgrade to nightly-2018-04-15
CC https://github.com/rust-lang/rust/pull/49669
2018-04-15 08:15:10 +02:00
Alex Crichton e9c272298b
Merge pull request #38 from gnzlbg/typo
Fix typo.
2018-02-01 10:05:32 -06:00
gnzlbg 419e2652f3
Fix typo. 2018-02-01 13:18:12 +01:00
Alex Crichton b95133aeb9
Merge pull request #27 from gnzlbg/utils
move mallocx_align to jemalloc-sys and expose it via the ffi module
2017-11-28 07:41:09 -08:00
gnzlbg c652a34f4e [jemalloc-sys] expose mallocx_align, equivalent to MALLOCX_ALIGN macro 2017-11-28 12:23:27 +01: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
Alex Crichton 9044f68f88
Merge pull request #37 from gnzlbg/fix_platforms
fix mips, sparc64, and s390x builds
2017-11-27 10:03:11 -08:00
Alex Crichton 1fe55c1f5b
Merge pull request #36 from gnzlbg/bugfix_jem
[bugfix] jemalloc i686-apple-darwin build
2017-11-27 10:00:25 -08:00
gnzlbg dfacaf7bfc fix mips, sparc64, and s390x builds 2017-11-27 14:53:07 +01:00
gnzlbg e2063b61a7 [bugfix] jemalloc build 2017-11-27 14:27:06 +01:00
Alex Crichton cac5f881b2
Merge pull request #34 from gnzlbg/update_jemalloc
Update jemalloc to 5.0.1
2017-11-25 09:13:43 -06:00
Alex Crichton d422418b95
Merge pull request #35 from gnzlbg/fix_excess
[bugfix] update align to flags in excess methods
2017-11-25 09:12:38 -06:00
gnzlbg bf4ce229aa revert version bump 2017-11-25 11:57:51 +01:00