From 09357dc2b85b4ce72baa976e138c4350cfba4c6e Mon Sep 17 00:00:00 2001 From: Amos Wenger Date: Mon, 23 Sep 2024 16:14:15 +0200 Subject: [PATCH] Upgrade mimalloc --- .../uv-production-memory-allocator/Cargo.lock | 71 +++++++++++++++++++ .../uv-production-memory-allocator/Cargo.toml | 2 +- 2 files changed, 72 insertions(+), 1 deletion(-) create mode 100644 crates/uv-production-memory-allocator/Cargo.lock diff --git a/crates/uv-production-memory-allocator/Cargo.lock b/crates/uv-production-memory-allocator/Cargo.lock new file mode 100644 index 0000000000000..dafd5aa60ef35 --- /dev/null +++ b/crates/uv-production-memory-allocator/Cargo.lock @@ -0,0 +1,71 @@ +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. +version = 3 + +[[package]] +name = "cc" +version = "1.1.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "07b1695e2c7e8fc85310cde85aeaab7e3097f593c91d209d3f9df76c928100f0" +dependencies = [ + "shlex", +] + +[[package]] +name = "libc" +version = "0.2.158" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d8adc4bb1803a324070e64a98ae98f38934d91957a99cfb3a43dcbc01bc56439" + +[[package]] +name = "libmimalloc-sys" +version = "0.1.39" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "23aa6811d3bd4deb8a84dde645f943476d13b248d818edcf8ce0b2f37f036b44" +dependencies = [ + "cc", + "libc", +] + +[[package]] +name = "mimalloc" +version = "0.1.43" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "68914350ae34959d83f732418d51e2427a794055d0b9529f48259ac07af65633" +dependencies = [ + "libmimalloc-sys", +] + +[[package]] +name = "shlex" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64" + +[[package]] +name = "tikv-jemalloc-sys" +version = "0.6.0+5.3.0-1-ge13ca993e8ccb9ba9847cc330696e02839f328f7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cd3c60906412afa9c2b5b5a48ca6a5abe5736aec9eb48ad05037a677e52e4e2d" +dependencies = [ + "cc", + "libc", +] + +[[package]] +name = "tikv-jemallocator" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4cec5ff18518d81584f477e9bfdf957f5bb0979b0bac3af4ca30b5b3ae2d2865" +dependencies = [ + "libc", + "tikv-jemalloc-sys", +] + +[[package]] +name = "uv-production-memory-allocator" +version = "0.1.0" +dependencies = [ + "mimalloc", + "tikv-jemallocator", +] diff --git a/crates/uv-production-memory-allocator/Cargo.toml b/crates/uv-production-memory-allocator/Cargo.toml index 631f274eb2e5a..e654e4eedd9e1 100644 --- a/crates/uv-production-memory-allocator/Cargo.toml +++ b/crates/uv-production-memory-allocator/Cargo.toml @@ -6,7 +6,7 @@ publish = false [dependencies] [target.'cfg(all(target_os = "windows"))'.dependencies] -mimalloc = { version = "0.1.39" } +mimalloc = { version = "0.1.43" } [target.'cfg(all(not(target_os = "windows"), not(target_os = "openbsd"), any(target_arch = "x86_64", target_arch = "aarch64", target_arch = "powerpc64")))'.dependencies] tikv-jemallocator = { version = "0.6.0" }