[LLVMdev] GC in multithreaded (but with no shared state) environment

Paweł Batko pawel.batko at gmail.com
Sun Feb 16 23:27:53 PST 2014


Hi all,

I would like to implement GC for a language supporting multiple threads.
There will be no shared state between threads as communication will be
based on message passing. I do not care much about performance. The
priority for me is to get things working.

I have read LLVM guide on writing GC:
http://llvm.org/docs/GarbageCollection.html. Shadow stack approach looks
very promising. The problem is, as described in the guide, shadow stack is
single thread solution. It would be ideal if I could get LLVM to create a
shadow stack on per thread basis. How could this be achieved?

Thanks,
Paweł.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140217/354c736f/attachment.html>


More information about the llvm-dev mailing list