Re: Memory fragmentation?

"L. David Baron" <[email protected]> Thu, 15 Nov 2007 18:04:12 -0800
Newsgroups gmane.comp.mozilla.performance
Message-ID <[email protected]>
On Thursday 2007-11-15 20:46 -0500, Daniel Brooks wrote:
> 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. 

It's probably simpler to just reference-count the arena as objects
in it are created and destroyed.  Then we can destroy the whole
thing when no objects are left.

-David

-- 
L. David Baron                                 http://dbaron.org/
Mozilla Corporation                       http://www.mozilla.com/