Skip to content

Commit d8a9b45

Browse files
committed
Switch from jemalloc to tikv-jemalloc
1 parent 1ec82d4 commit d8a9b45

File tree

3 files changed

+38
-38
lines changed

3 files changed

+38
-38
lines changed

Cargo.lock

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

crates/profile/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@ cfg-if = "1"
1515
libc = "0.2.73"
1616
la-arena = { version = "0.2.0", path = "../../lib/arena" }
1717
countme = { version = "2.0.1", features = ["enable"] }
18-
jemalloc-ctl = { version = "0.3.3", optional = true }
18+
tikv-jemalloc-ctl = { version = "0.4.1", optional = true }
1919

2020
[target.'cfg(target_os = "linux")'.dependencies]
2121
perf-event = "0.4"
2222

2323
[features]
2424
cpu_profiler = []
25-
jemalloc = ["jemalloc-ctl"]
25+
jemalloc = ["tikv-jemalloc-ctl"]
2626

2727
# Uncomment to enable for the whole crate graph
2828
# default = [ "cpu_profiler" ]

crates/rust-analyzer/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ proc_macro_srv = { path = "../proc_macro_srv", version = "0.0.0" }
6363
winapi = "0.3.8"
6464

6565
[target.'cfg(not(target_env = "msvc"))'.dependencies]
66-
jemallocator = { version = "0.3.2", optional = true }
66+
tikv-jemallocator = { version = "0.4.1", optional = true }
6767

6868
[dev-dependencies]
6969
expect-test = "1.1"
@@ -72,5 +72,5 @@ mbe = { path = "../mbe" }
7272
tt = { path = "../tt" }
7373

7474
[features]
75-
jemalloc = ["jemallocator", "profile/jemalloc"]
75+
jemalloc = ["tikv-jemallocator", "profile/jemalloc"]
7676
force-always-assert = ["always-assert/force"]

0 commit comments

Comments
 (0)