Skip to content

Commit eabc392

Browse files
committed
Disable usage of mmap allocator in libbacktrace
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
1 parent 00da275 commit eabc392

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

backtrace-sys/src/libbacktrace/configure

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12335,7 +12335,7 @@ else
1233512335
1233612336
_ACEOF
1233712337
if ac_fn_c_try_cpp "$LINENO"; then :
12338-
ALLOC_FILE=mmap.lo
12338+
ALLOC_FILE=alloc.lo
1233912339
else
1234012340
ALLOC_FILE=alloc.lo
1234112341
fi

0 commit comments

Comments
 (0)