Subject: Re: bug#39164: 27.0.60; Intermittent crash on MacOS 10.14 in setup_process_coding_systems

From: Eli Zaretskii <[email-masked]>
Date: Tue, 28 Jan 2020 19:37:10 +0200

> Date: Tue, 28 Jan 2020 19:06:09 +0900
> From: YAMAMOTO Mitsuharu <[email-masked]>
> Cc: Robert Pluim <[email-masked]>,
> 	[email-masked],
> 	[email-masked],
> 	[email-masked]
> 
> The increase happens only once per function in question.  So we make a
> dummy call in advance so later calls may not cause the increase in
> unpredicable timings.

Can these dummy calls be made just before we call setrlimit in
init_process_emacs, as opposed to in a macOS-specific source file?

Also, could there be Core Foundation functions other than those you
propose to call, that have the same effect?  IOW, how can we be sure
we issued a dummy call for every such function that matters to Emacs?

Thanks.