mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-22 04:03:11 +00:00
Enable retain by default on macOS.
High number of mappings result in unusually high fork() cost on macOS. Retain fixes the issue, at a small cost of extra VM space reserved.
This commit is contained in:
@@ -671,6 +671,9 @@ case "${host}" in
|
||||
SOREV="${rev}.${so}"
|
||||
sbrk_deprecated="1"
|
||||
SYM_PREFIX="_"
|
||||
if test "${LG_SIZEOF_PTR}" = "3"; then
|
||||
default_retain="1"
|
||||
fi
|
||||
;;
|
||||
*-*-freebsd*)
|
||||
JE_APPEND_VS(CPPFLAGS, -D_BSD_SOURCE)
|
||||
|
||||
Reference in New Issue
Block a user