Re: ideas for returning memory to the OS
Boris Zbarsky <[email protected]> Sun, 16 Dec 2007 13:08:48 -0500
| Newsgroups | gmane.comp.mozilla.performance |
|---|---|
| Message-ID | <[email protected]> |
Jean-Marc Desperrier wrote: > That's another point on which there might be some very significant gain > to have : Objects that have a "current function call" lifespan should be > *fully* allocated on the stack. There are actually places where we do the opposite: allocate (large) objects with stack semantics from a heap arena. The problem is that stack space used to be pretty limited at least on Mac OS Classic. I don't think OSX has the same restrictions, does it? Does Windows? Could we move to direct stack allocation for those, and is it desirable to do so? -Boris