Skip to content

Commit cd5b53a

Browse files
committed
[storage] use tikv-jemallocator
rust-lang/rust#83152
1 parent 3dd67eb commit cd5b53a

File tree

6 files changed

+47
-33
lines changed

6 files changed

+47
-33
lines changed

Cargo.lock

Lines changed: 42 additions & 28 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

aptos-node/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ clap = "3.1.8"
1616
fail = "0.5.0"
1717
futures = "0.3.21"
1818
hex = "0.4.3"
19-
jemallocator = { version = "0.3.2", features = ["profiling", "unprefixed_malloc_on_supported_platforms"] }
19+
tikv-jemallocator = { version = "0.5.0", features = ["profiling", "unprefixed_malloc_on_supported_platforms"] }
2020
rand = "0.7.3"
2121
tokio = { version = "1.18.2", features = ["full"] }
2222
tokio-stream = "0.1.8"

aptos-node/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ use aptos_node::AptosNodeArgs;
77
use clap::Parser;
88

99
#[global_allocator]
10-
static ALLOC: jemallocator::Jemalloc = jemallocator::Jemalloc;
10+
static ALLOC: tikv_jemallocator::Jemalloc = tikv_jemallocator::Jemalloc;
1111

1212
fn main() {
1313
AptosNodeArgs::parse().run()

execution/executor-benchmark/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ chrono = "0.4.19"
1414
criterion = "0.3.5"
1515
indicatif = "0.15.0"
1616
itertools = "0.10.3"
17-
jemallocator = { version = "0.3.2", features = ["profiling", "unprefixed_malloc_on_supported_platforms"] }
17+
tikv-jemallocator = { version = "0.5.0", features = ["profiling", "unprefixed_malloc_on_supported_platforms"] }
1818
num_cpus = "1.13.1"
1919
rand = "0.7.3"
2020
rayon = "1.5.2"

execution/executor-benchmark/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ use std::path::PathBuf;
88
use structopt::StructOpt;
99

1010
#[global_allocator]
11-
static ALLOC: jemallocator::Jemalloc = jemallocator::Jemalloc;
11+
static ALLOC: tikv_jemallocator::Jemalloc = tikv_jemallocator::Jemalloc;
1212

1313
#[derive(Debug, StructOpt)]
1414
struct PrunerOpt {

storage/schemadb/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ aptos-logger = { path = "../../crates/aptos-logger" }
2020
aptos-metrics-core = { path = "../../crates/aptos-metrics-core" }
2121

2222
[dependencies.rocksdb]
23-
version = "0.17.0"
23+
version = "0.18.0"
2424
default-features = false
2525
features = ["lz4"]
2626

0 commit comments

Comments
 (0)