[LLVMdev] open source multithreaded garbage collector suitable for LLVM applications?

Chris Hanson cmh at me.com
Sat May 2 11:51:14 PDT 2009

Apple's autozone is a concurrent non-copying collector written in C++  
that should be adaptable to your needs. You could even take a look at  
clang to see how to generate code for it; autozone is the collector  
used by Objective-C garbage collection.

It's under an Apache license and downloadable from the Darwin open  
source repository. Google should point you to it.

   -- Chris
   -- sent from my iPhone

On May 1, 2009, at 1:27 PM, Basile STARYNKEVITCH <basile at starynkevitch.net 
 > wrote:

> Hello All
> Does any know about some opensource multithread-compatible (or
> concurrent) garbage collector library, if possible suitable for LLVM?
> (I mean that I want several mutator threads; the collector can be
> stoptheworld or concurrent ....)
> H.Boehm's conservative GC is multithread compatible, but seems quite
> slow (allocation is about the time of a C malloc).
> And it is well known that coding concurrent GC is quite hard, much
> harder than coding a single-threaded GC.
> And with LLVM, adapting to the constraints of the GC is easier.
> Are there people using LLVM in multi-threaded applications with some
> other GC than Boehm's?
> Regards.
> -- 
> Basile STARYNKEVITCH         http://starynkevitch.net/Basile/
> email: basile<at>starynkevitch<dot>net mobile: +33 6 8501 2359
> 8, rue de la Faiencerie, 92340 Bourg La Reine, France
> *** opinions {are only mines, sont seulement les miennes} ***
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev

More information about the llvm-dev mailing list