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:
parent
df8f7d10af
commit
b950934916
@ -671,6 +671,9 @@ case "${host}" in
|
|||||||
SOREV="${rev}.${so}"
|
SOREV="${rev}.${so}"
|
||||||
sbrk_deprecated="1"
|
sbrk_deprecated="1"
|
||||||
SYM_PREFIX="_"
|
SYM_PREFIX="_"
|
||||||
|
if test "${LG_SIZEOF_PTR}" = "3"; then
|
||||||
|
default_retain="1"
|
||||||
|
fi
|
||||||
;;
|
;;
|
||||||
*-*-freebsd*)
|
*-*-freebsd*)
|
||||||
JE_APPEND_VS(CPPFLAGS, -D_BSD_SOURCE)
|
JE_APPEND_VS(CPPFLAGS, -D_BSD_SOURCE)
|
||||||
|
Loading…
Reference in New Issue
Block a user