On 03/18/2013 11:46 AM, Wes Garland wrote:
> So, zones are roughly analogous to a JSRuntime from the embedder's POV?
When you call JS_NewGlobalObject, you now tell it what zone to put the
compartment into. By default, every global gets its own zone. However,
you could choose to put everything in the system zone and then you'll
mostly get what you describe (except that the atoms compartment will
still be in a separate zone).
If you weren't using per-compartment GC before, then it makes sense to
put everything in the same zone.
-Bill