change global allocator and fix some services
This commit is contained in:
parent
087eba1d07
commit
9f6b73a7c0
3 changed files with 28 additions and 18 deletions
|
|
@ -1,6 +1,6 @@
|
|||
#[cfg(not(target_env = "msvc"))]
|
||||
use mimalloc_rust::*;
|
||||
#[global_allocator]
|
||||
static GLOBAL: tikv_jemallocator::Jemalloc = tikv_jemallocator::Jemalloc;
|
||||
static GLOBAL_MIMALLOC: GlobalMiMalloc = GlobalMiMalloc;
|
||||
|
||||
mod backend;
|
||||
mod backend_opt;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue