Commit Graph

5 Commits

Author SHA1 Message Date
Cervantes Yu
9282248e1e Bug 966802 - Fix and protect from stack overflow of the threads cloned in the Nuwa process. r=khuey 2014-02-10 08:46:05 -05:00
Cervantes Yu
009ac7863a Bug 961959: fix profiler breakage for the Nuwa process. r=khuey,benwa 2014-01-22 18:56:45 +08:00
Birunthan Mohanathas
e8e1ec6dec Bug 784739 - Switch from NULL to nullptr in mozglue/; r=ehsan 2013-11-11 14:14:45 -05:00
Cervantes Yu
14514506ea Bug 928186: fix nuwa process crash due to LibcAllocator not allocating enough memory. r=khuey 2013-10-17 17:00:00 +01:00
Thinker Lee ext:(%2C%20Cervantes%20Yu%20%3Ccyu%40mozilla.com%3E)
571a106743 Bug 771765 - Support template content process, part 1: the Nuwa API and low-level wrappers. r=khuey
Support of zygote-like process forking is done as:
* The b2g chrome process forks a child process that will be the template for forking other content processes.
* The template process starts running to some point and freeze.
* When ready, the chrome process starts requesting the template to fork content proceses.
* The content processes forked from the template process recovers its states including the threads, file descriptors for epoll, signaling and IPC.

Recovery of the process states are done by wrapping some system and pthread calls to record the states in the template process and recover in the forked content process.
2013-05-07 14:25:13 +08:00