3 ms·
> The trick is to share one VM instance between multiple apps. So when the OS starts you start the VM process and then fork with a lot of the JITted code alread
by zurn 11y ago
> The trick is to share one VM instance between multiple apps. So when the OS starts you start the VM process and then fork with a lot of the JITted code already in place so you get almost instant startup and reasonable process isolation.
Android does this, unless it changed recently. The common parent process is called "Zygote".
See eg http://www.elinux.org/Android_Zygote_Startup http://www.elinux.org/Android_Zygote_Startup