[LLVMdev] Garbage collection: Multiple copies of a root

Gordon Henriksen gordonhenriksen at me.com
Fri Mar 20 06:19:06 PDT 2009


On 2009-03-20, at 06:54, Mattias Holm wrote:

> Another open question is who is responsible for inserting calls to  
> the collector routine (or signaling a collector thread)?
>
> My impression is that this has to be done in the front-end for now  
> since there is no support for doing this at the safe points at the  
> moment.
>
> Is this correct?

Generally, GC is only triggered by an out-of-memory condition. So  
typically the runtime library will invoke collection from within the  
memory allocation function.

— Gordon





More information about the llvm-dev mailing list