mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-09 03:17:55 +00:00
Use tikv-jemallocator instead of jemallocator (#6354)
* Use tikv-jemallocator instead of jemallocator * Merge branch 'unstable' into tikv-jemallocator * Bump tikv-jemallocator and tikv-jemalloc-ctl
This commit is contained in:
committed by
GitHub
parent
c824142a6d
commit
0c5e25b62a
@@ -8,16 +8,19 @@ edition = { workspace = true }
|
||||
lighthouse_metrics = { workspace = true }
|
||||
libc = "0.2.79"
|
||||
parking_lot = { workspace = true }
|
||||
jemalloc-ctl = { version = "0.5.0", optional = true }
|
||||
tikv-jemalloc-ctl = { version = "0.6.0", optional = true, features = ["stats"] }
|
||||
|
||||
# Jemalloc's background_threads feature requires Linux (pthreads).
|
||||
[target.'cfg(target_os = "linux")'.dependencies]
|
||||
jemallocator = { version = "0.5.0", optional = true, features = ["stats", "background_threads"] }
|
||||
tikv-jemallocator = { version = "0.6.0", optional = true, features = [
|
||||
"stats",
|
||||
"background_threads",
|
||||
] }
|
||||
|
||||
[target.'cfg(not(target_os = "linux"))'.dependencies]
|
||||
jemallocator = { version = "0.5.0", optional = true, features = ["stats"] }
|
||||
tikv-jemallocator = { version = "0.6.0", optional = true, features = ["stats"] }
|
||||
|
||||
[features]
|
||||
mallinfo2 = []
|
||||
jemalloc = ["jemallocator", "jemalloc-ctl"]
|
||||
jemalloc-profiling = ["jemallocator/profiling"]
|
||||
jemalloc = ["tikv-jemallocator", "tikv-jemalloc-ctl"]
|
||||
jemalloc-profiling = ["tikv-jemallocator/profiling"]
|
||||
|
||||
Reference in New Issue
Block a user