Re: Memory fragmentation?

Daniel Brooks <[email protected]> Thu, 15 Nov 2007 20:46:51 -0500
Newsgroups gmane.comp.mozilla.performance
Message-ID <[email protected]>
Boris Zbarsky <[email protected]> writes:

> Dan Mosedale wrote:
>> What percentage of the time do you think we would be able to destroy
>> them together?  
>
> Fairly often, I suspect (at least after a GC cycle or two).  All I'm
> saying is that we shouldn't assume we can just drop an arena at page
> unload (the way we do for frames, e.g.) to deallocate the DOM.
>
> -Boris

Yea, that's a good point. It seems like we would be able to keep track
of the links fairly easily, essentially counting the links going into
and out of each heap. We would then know when it was safe to
decommission that heap. 

db48x