Re: Memory fragmentation?

Dan Mosedale <[email protected]> Thu, 15 Nov 2007 09:39:47 -0800
Newsgroups gmane.comp.mozilla.performance
Message-ID <[email protected]>
Boris Zbarsky wrote:
> Daniel Brooks wrote:
>> This is basically what people mean when they talk about sorting
>> allocations by lifetime. We don't know the exact lifetimes of these
>> objects in advance (because we don't know when the user will close the
>> tab), but we know that they will be destroyed together.
> 
> No, we don't. DOM nodes and other refcounted things can outlive the tab 
> closure and teardown of the window arbitrarily. Just have some script in 
> another window referencing them.

What percentage of the time do you think we would be able to destroy 
them together?  Most of time, or am I misunderstanding how often these 
sorts of references happen?

Dan