jemalloc defaults to enabling stats if `--enable-stats` is not
present and `--disable-stats` was not set: fa451de17f/configure.ac (L1331-L1333)
the stats feature was always enabled by default and never
respected if someone were to remove the stats feature as
no logic was added for setting `--disable-stats`. to avoid
breaking other user's setups who are relying on this behaviour,
set stats as a default feature.
Signed-off-by: strawberry <strawberry@puppygock.gay>
* Use --with-version when configuring jemalloc
This also changes the metadata of the version so that jemalloc still
reports the same version as before.
Fixestikv/jemallocator#76
Signed-off-by: Rafael Ávila de Espíndola <rafael@espindo.la>
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>
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>
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>
- Remove all cross compilation and reduce supporting platforms
- Remove complicated checks and builds
- Update jemalloc to 5.2.1
- Fixgnzlbg/jemallocator#147
Signed-off-by: Jay Lee <BusyJayLee@gmail.com>
- 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>
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.