Skip to content

Commit

Permalink
Disable usage of mmap allocator in libbacktrace
Browse files Browse the repository at this point in the history
Turns out it's just crazy slow on huge debug sections and it's also quite leaky.
We don't need to use it in a signal handler context, so let's just jettison the
mmap allocator
  • Loading branch information
alexcrichton committed Sep 26, 2017
1 parent 00da275 commit eabc392
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backtrace-sys/src/libbacktrace/configure
Original file line number Diff line number Diff line change
Expand Up @@ -12335,7 +12335,7 @@ else
_ACEOF
if ac_fn_c_try_cpp "$LINENO"; then :
ALLOC_FILE=mmap.lo
ALLOC_FILE=alloc.lo
else
ALLOC_FILE=alloc.lo
fi
Expand Down

0 comments on commit eabc392

Please sign in to comment.