Skip to content

Commit

Permalink
Revert "rustc: disable jemalloc's time-delayed purging to remove ASLR…
Browse files Browse the repository at this point in the history
…-like effects."

This reverts commit a10f0d2.
  • Loading branch information
eddyb committed Jun 13, 2022
1 parent a10f0d2 commit 0763c7b
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions compiler/rustc/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,6 @@ fn main() {
#[used]
static _F7: unsafe extern "C" fn() = _rjem_je_zone_register;
}

// HACK(eddyb) disable time-delayed purging to remove the main (only?)
// source of non-determinism in `jemalloc`.
#[used]
#[export_name = "malloc_conf"]
static MALLOC_CONF: &'static [u8; 34] = b"dirty_decay_ms:0,muzzy_decay_ms:0\0";
}

rustc_driver::set_sigpipe_handler();
Expand Down

0 comments on commit 0763c7b

Please sign in to comment.