[LLVMdev] Accurate garbage collection

Pedro Ferreira pedro.ferreira at imgtec.com
Fri Sep 17 05:01:30 PDT 2010


On Fri, 2010-09-17 at 12:16 +0100, David Given wrote:
> On 17/09/10 09:55, Pedro Ferreira wrote:
> > As I understand it, LLVM simply gives you support for garbage collectors
> > that you have to implement yourself and link into the final binary,
> > similar to what C's malloc does (it's a library call). The issue with
> > GC's is that they need to be provided info about the stack, thats where
> > LLVM's support comes in.
> 
> Are there any standalone accurate garbage collectors that I could use in
> my project, rather than having to write me own (or use libgc, which is
> what I'm doing now)? Garbage collectors are subtle and very tricky and I
> really don't want to have to do one myself, as I know I'll just get it
> wrong.
> 
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev


You can try Hans Bohem Garbage collector.
http://www.hpl.hp.com/personal/Hans_Boehm/gc/





More information about the llvm-dev mailing list