Jonas Sicking wrote:

> It does worry me a little though that if we make all XPCOM objects
> GCObjects, we won't destroy any XPCOM objects until the first GC. It
> would be good to create a testbuild that doesn't destroy any XPCOM
> objects and see how much memory such a build uses just to start up the
> browser. During startup I don't think we currently do a GC, and we
> probably don't want to for performance reasons.

Or at least instrument how many and what kind of bjects are *deleted* during
a startup run up to some arbitrary point (the beginning of the main event
loop, perhaps).

Of course if we're deleting lots of objects during startup, we should
probably examine why we were allocating those objects in the first place.

--BDS
_______________________________________________
dev-tech-xpcom mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-xpcom

Reply via email to