Skip to content

Commit

Permalink
Immediate page purging plus background threads
Browse files Browse the repository at this point in the history
  • Loading branch information
Kobzol committed Jan 5, 2025
1 parent 62a660f commit 295c30d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/bootstrap/src/core/build_steps/compile.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1207,12 +1207,12 @@ pub fn rustc_cargo_env(
rustc_llvm_env(builder, cargo, target)
}
}
// if builder.config.jemalloc {
// cargo.env(
// "JEMALLOC_SYS_WITH_MALLOC_CONF",
// "dirty_decay_ms:-1,muzzy_decay_ms:-1,abort_conf:true",
// );
// }
if builder.config.jemalloc {
cargo.env(
"JEMALLOC_SYS_WITH_MALLOC_CONF",
"dirty_decay_ms:0,muzzy_decay_ms:0,abort_conf:true",
);
}
}

/// Pass down configuration from the LLVM build into the build of
Expand Down

0 comments on commit 295c30d

Please sign in to comment.