Daniel Rall wrote:

> Also, would you point me to a
> reference on how memory management is handled?

It uses the Boehm collector.  For full details see here:

http://www.hpl.hp.com/personal/Hans_Boehm/gc/

It is a conservative collector that can also implement garbage
collection for C and C++, though gcc doesn't yet take advantage of this.

It's a fairly decent collector, I think, that implements most of the
obvious optimisations such as generations, exploitation of the MMU, etc.

Its conservative nature is both an upside and a downside.  On the
downside, a small amount of storage may not get reclaimed -- though
unlike leaky C programs, this amount tends not to increase with time. 
On the upside, there is less overhead because the collector doesn't have
to distinguish between pointers and other types.

-- 
Pete


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to