├── .github └── workflows │ └── main.yml ├── .gitignore ├── .gitmodules ├── CHANGELOG.md ├── Cargo.toml ├── LICENSE-APACHE ├── LICENSE-MIT ├── README.md ├── ci ├── dox.sh └── run.sh ├── jemalloc-ctl ├── Cargo.toml ├── LICENSE-APACHE ├── LICENSE-MIT ├── README.md ├── rustfmt.toml └── src │ ├── arenas.rs │ ├── config.rs │ ├── error.rs │ ├── keys.rs │ ├── lib.rs │ ├── macros.rs │ ├── opt.rs │ ├── profiling.rs │ ├── raw.rs │ ├── stats.rs │ ├── stats_print.rs │ └── thread.rs ├── jemalloc-sys ├── Cargo.toml ├── LICENSE-APACHE ├── LICENSE-MIT ├── README.md ├── build.rs ├── configure │ └── configure ├── src │ ├── env.rs │ ├── lib.rs │ └── pthread_atfork.c ├── tests │ ├── malloc_conf_empty.rs │ ├── malloc_conf_set.rs │ └── unprefixed_malloc.rs └── update_jemalloc.md ├── jemallocator-global ├── Cargo.toml ├── LICENSE-APACHE ├── LICENSE-MIT ├── README.md └── src │ └── lib.rs ├── jemallocator ├── Cargo.toml ├── LICENSE-APACHE ├── LICENSE-MIT ├── README.md ├── benches │ └── roundtrip.rs ├── src │ └── lib.rs └── tests │ ├── background_thread_defaults.rs │ ├── background_thread_enabled.rs │ ├── ffi.rs │ ├── grow_in_place.rs │ ├── malloctl.rs │ ├── shrink_in_place.rs │ ├── smoke.rs │ ├── smoke_ffi.rs │ └── usable_size.rs └── test-dylib ├── Cargo.toml ├── build.rs └── src ├── dep.c └── main.rs /.github/workflows/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tikv/jemallocator/HEAD/.github/workflows/main.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | target 2 | Cargo.lock 3 | -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tikv/jemallocator/HEAD/.gitmodules -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tikv/jemallocator/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tikv/jemallocator/HEAD/Cargo.toml -------------------------------------------------------------------------------- /LICENSE-APACHE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tikv/jemallocator/HEAD/LICENSE-APACHE -------------------------------------------------------------------------------- /LICENSE-MIT: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tikv/jemallocator/HEAD/LICENSE-MIT -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | jemallocator/README.md -------------------------------------------------------------------------------- /ci/dox.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tikv/jemallocator/HEAD/ci/dox.sh -------------------------------------------------------------------------------- /ci/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tikv/jemallocator/HEAD/ci/run.sh -------------------------------------------------------------------------------- /jemalloc-ctl/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tikv/jemallocator/HEAD/jemalloc-ctl/Cargo.toml -------------------------------------------------------------------------------- /jemalloc-ctl/LICENSE-APACHE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tikv/jemallocator/HEAD/jemalloc-ctl/LICENSE-APACHE -------------------------------------------------------------------------------- /jemalloc-ctl/LICENSE-MIT: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tikv/jemallocator/HEAD/jemalloc-ctl/LICENSE-MIT -------------------------------------------------------------------------------- /jemalloc-ctl/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tikv/jemallocator/HEAD/jemalloc-ctl/README.md -------------------------------------------------------------------------------- /jemalloc-ctl/rustfmt.toml: -------------------------------------------------------------------------------- 1 | max_width = 79 -------------------------------------------------------------------------------- /jemalloc-ctl/src/arenas.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tikv/jemallocator/HEAD/jemalloc-ctl/src/arenas.rs -------------------------------------------------------------------------------- /jemalloc-ctl/src/config.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tikv/jemallocator/HEAD/jemalloc-ctl/src/config.rs -------------------------------------------------------------------------------- /jemalloc-ctl/src/error.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tikv/jemallocator/HEAD/jemalloc-ctl/src/error.rs -------------------------------------------------------------------------------- /jemalloc-ctl/src/keys.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tikv/jemallocator/HEAD/jemalloc-ctl/src/keys.rs -------------------------------------------------------------------------------- /jemalloc-ctl/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tikv/jemallocator/HEAD/jemalloc-ctl/src/lib.rs -------------------------------------------------------------------------------- /jemalloc-ctl/src/macros.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tikv/jemallocator/HEAD/jemalloc-ctl/src/macros.rs -------------------------------------------------------------------------------- /jemalloc-ctl/src/opt.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tikv/jemallocator/HEAD/jemalloc-ctl/src/opt.rs -------------------------------------------------------------------------------- /jemalloc-ctl/src/profiling.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tikv/jemallocator/HEAD/jemalloc-ctl/src/profiling.rs -------------------------------------------------------------------------------- /jemalloc-ctl/src/raw.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tikv/jemallocator/HEAD/jemalloc-ctl/src/raw.rs -------------------------------------------------------------------------------- /jemalloc-ctl/src/stats.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tikv/jemallocator/HEAD/jemalloc-ctl/src/stats.rs -------------------------------------------------------------------------------- /jemalloc-ctl/src/stats_print.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tikv/jemallocator/HEAD/jemalloc-ctl/src/stats_print.rs -------------------------------------------------------------------------------- /jemalloc-ctl/src/thread.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tikv/jemallocator/HEAD/jemalloc-ctl/src/thread.rs -------------------------------------------------------------------------------- /jemalloc-sys/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tikv/jemallocator/HEAD/jemalloc-sys/Cargo.toml -------------------------------------------------------------------------------- /jemalloc-sys/LICENSE-APACHE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tikv/jemallocator/HEAD/jemalloc-sys/LICENSE-APACHE -------------------------------------------------------------------------------- /jemalloc-sys/LICENSE-MIT: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tikv/jemallocator/HEAD/jemalloc-sys/LICENSE-MIT -------------------------------------------------------------------------------- /jemalloc-sys/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tikv/jemallocator/HEAD/jemalloc-sys/README.md -------------------------------------------------------------------------------- /jemalloc-sys/build.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tikv/jemallocator/HEAD/jemalloc-sys/build.rs -------------------------------------------------------------------------------- /jemalloc-sys/configure/configure: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tikv/jemallocator/HEAD/jemalloc-sys/configure/configure -------------------------------------------------------------------------------- /jemalloc-sys/src/env.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tikv/jemallocator/HEAD/jemalloc-sys/src/env.rs -------------------------------------------------------------------------------- /jemalloc-sys/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tikv/jemallocator/HEAD/jemalloc-sys/src/lib.rs -------------------------------------------------------------------------------- /jemalloc-sys/src/pthread_atfork.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tikv/jemallocator/HEAD/jemalloc-sys/src/pthread_atfork.c -------------------------------------------------------------------------------- /jemalloc-sys/tests/malloc_conf_empty.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tikv/jemallocator/HEAD/jemalloc-sys/tests/malloc_conf_empty.rs -------------------------------------------------------------------------------- /jemalloc-sys/tests/malloc_conf_set.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tikv/jemallocator/HEAD/jemalloc-sys/tests/malloc_conf_set.rs -------------------------------------------------------------------------------- /jemalloc-sys/tests/unprefixed_malloc.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tikv/jemallocator/HEAD/jemalloc-sys/tests/unprefixed_malloc.rs -------------------------------------------------------------------------------- /jemalloc-sys/update_jemalloc.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tikv/jemallocator/HEAD/jemalloc-sys/update_jemalloc.md -------------------------------------------------------------------------------- /jemallocator-global/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tikv/jemallocator/HEAD/jemallocator-global/Cargo.toml -------------------------------------------------------------------------------- /jemallocator-global/LICENSE-APACHE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tikv/jemallocator/HEAD/jemallocator-global/LICENSE-APACHE -------------------------------------------------------------------------------- /jemallocator-global/LICENSE-MIT: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tikv/jemallocator/HEAD/jemallocator-global/LICENSE-MIT -------------------------------------------------------------------------------- /jemallocator-global/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tikv/jemallocator/HEAD/jemallocator-global/README.md -------------------------------------------------------------------------------- /jemallocator-global/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tikv/jemallocator/HEAD/jemallocator-global/src/lib.rs -------------------------------------------------------------------------------- /jemallocator/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tikv/jemallocator/HEAD/jemallocator/Cargo.toml -------------------------------------------------------------------------------- /jemallocator/LICENSE-APACHE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tikv/jemallocator/HEAD/jemallocator/LICENSE-APACHE -------------------------------------------------------------------------------- /jemallocator/LICENSE-MIT: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tikv/jemallocator/HEAD/jemallocator/LICENSE-MIT -------------------------------------------------------------------------------- /jemallocator/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tikv/jemallocator/HEAD/jemallocator/README.md -------------------------------------------------------------------------------- /jemallocator/benches/roundtrip.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tikv/jemallocator/HEAD/jemallocator/benches/roundtrip.rs -------------------------------------------------------------------------------- /jemallocator/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tikv/jemallocator/HEAD/jemallocator/src/lib.rs -------------------------------------------------------------------------------- /jemallocator/tests/background_thread_defaults.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tikv/jemallocator/HEAD/jemallocator/tests/background_thread_defaults.rs -------------------------------------------------------------------------------- /jemallocator/tests/background_thread_enabled.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tikv/jemallocator/HEAD/jemallocator/tests/background_thread_enabled.rs -------------------------------------------------------------------------------- /jemallocator/tests/ffi.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tikv/jemallocator/HEAD/jemallocator/tests/ffi.rs -------------------------------------------------------------------------------- /jemallocator/tests/grow_in_place.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tikv/jemallocator/HEAD/jemallocator/tests/grow_in_place.rs -------------------------------------------------------------------------------- /jemallocator/tests/malloctl.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tikv/jemallocator/HEAD/jemallocator/tests/malloctl.rs -------------------------------------------------------------------------------- /jemallocator/tests/shrink_in_place.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tikv/jemallocator/HEAD/jemallocator/tests/shrink_in_place.rs -------------------------------------------------------------------------------- /jemallocator/tests/smoke.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tikv/jemallocator/HEAD/jemallocator/tests/smoke.rs -------------------------------------------------------------------------------- /jemallocator/tests/smoke_ffi.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tikv/jemallocator/HEAD/jemallocator/tests/smoke_ffi.rs -------------------------------------------------------------------------------- /jemallocator/tests/usable_size.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tikv/jemallocator/HEAD/jemallocator/tests/usable_size.rs -------------------------------------------------------------------------------- /test-dylib/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tikv/jemallocator/HEAD/test-dylib/Cargo.toml -------------------------------------------------------------------------------- /test-dylib/build.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tikv/jemallocator/HEAD/test-dylib/build.rs -------------------------------------------------------------------------------- /test-dylib/src/dep.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tikv/jemallocator/HEAD/test-dylib/src/dep.c -------------------------------------------------------------------------------- /test-dylib/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tikv/jemallocator/HEAD/test-dylib/src/main.rs --------------------------------------------------------------------------------