diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2023-05-19 15:10:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-19 09:10:33 -0400 |
commit | af72a9c6576cab16128a89d3c9cd5f57cd0d2504 (patch) | |
tree | f345812dedf2098651dacf0c55ad98d1b0b48b39 /cli/main.rs | |
parent | 2b92efa64501320955979a92de39c70b6734f835 (diff) |
Revert "perf: use jemalloc as global allocator (#18957)" (#19187)
This reverts commit 798c1ad0f1de80ff0e7196b6140a3f74e31fe111.
Reverting because this change caused a spike in memory usage, but we
can't fully realise gains from lower GC pressure from more optimal
malloc/ free provided by "jemalloc".
We might revisit the topic in future.
Diffstat (limited to 'cli/main.rs')
-rw-r--r-- | cli/main.rs | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/cli/main.rs b/cli/main.rs index 031ab07e0..73820cb93 100644 --- a/cli/main.rs +++ b/cli/main.rs @@ -26,13 +26,6 @@ mod version; mod watcher; mod worker; -#[cfg(not(target_env = "msvc"))] -use tikv_jemallocator::Jemalloc; - -#[cfg(not(target_env = "msvc"))] -#[global_allocator] -static GLOBAL: Jemalloc = Jemalloc; - use crate::args::flags_from_vec; use crate::args::DenoSubcommand; use crate::args::Flags; |