feat: add stats and background_threads features for jemalloc (#431)
Signed-off-by: Gaius <gaius.qi@gmail.com>
This commit is contained in:
parent
7d83cabdc8
commit
ac45582fc8
|
|
@ -80,7 +80,7 @@ futures-util = "0.3.30"
|
||||||
termion = "3.0.0"
|
termion = "3.0.0"
|
||||||
|
|
||||||
[target.'cfg(not(target_env = "msvc"))'.dependencies]
|
[target.'cfg(not(target_env = "msvc"))'.dependencies]
|
||||||
tikv-jemallocator = { version = "0.5.4", features = ["profiling", "unprefixed_malloc_on_supported_platforms"] }
|
tikv-jemallocator = { version = "0.5.4", features = ["profiling", "stats", "unprefixed_malloc_on_supported_platforms", "background_threads"] }
|
||||||
|
|
||||||
[target.'cfg(target_os = "linux")'.dependencies]
|
[target.'cfg(target_os = "linux")'.dependencies]
|
||||||
jemalloc_pprof = "0.1.0"
|
jemalloc_pprof = "0.1.0"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue