You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the API is known for sure that running program needs to wait for the subprocess to finish in order to continue there could be a benefit of using vfork.
The text was updated successfully, but these errors were encountered:
We use
fork
/exec
for running processes. Although it has some benefits regarding process isolation, it leads to higher memory demand.For example, some of the crashes when building the compiler in 32 bits are when running the
run
macro to embed tool init.ecr
templates.In Go,
vfork
is used when available: https://github.com/golang/go/blob/master/src/syscall/exec_linux.go.When the API is known for sure that running program needs to wait for the subprocess to finish in order to continue there could be a benefit of using
vfork
.The text was updated successfully, but these errors were encountered: