NuwaTemplateProcess: Difference between revisions

No edit summary
Line 47: Line 47:


== Share Data Among Content Processes ==
== Share Data Among Content Processes ==
With Nuwa, static data could be shared among content processes with just one copy and copy-on-write.  If you think some is desired to be shared, you should load it at the Nuwa process before being frozen.  PreloadSlowThings() is a good place to load/or initialize the data.  Please check dom/ipc/preload.js of m-c.
With Nuwa, static data could be shared among content processes with just one copy and copy-on-write.  If you think some deserve to be shared, you should load it at the Nuwa process before being frozen.  PreloadSlowThings() is a good place to load/or initialize the data.  Please check dom/ipc/preload.js of m-c.
Confirmed users
398

edits