[LLVMdev] Re: JIT and garbage collection

Chris Lattner sabre at nondot.org
Sun Aug 6 14:16:02 PDT 2006


On Sun, 6 Aug 2006, Hendrik Boom wrote:
>> The JIT doesn't automatically do this.  I don't track where function
>> pointers are and autoreclaim.  The client must specifically request that
>> specific functions code be deallocated.
>
> Would it be a huge change for it to do this?  Besides issues of whether
> the garbage collector itself contains garbage-collected code, of course.

How would it work?  How would the JIT know where you put function 
pointers?

-Chris

-- 
http://nondot.org/sabre/
http://llvm.org/



More information about the llvm-dev mailing list