Hi Victor,<div><br></div><div>You can write your own GC or use other's GC with LLVM. What LLVM provides is a framework to generate a representation of objects locations in a method's frames. Right now, LLVM can emit the shadow stack (which dynamically updates the locations), or the ocaml format. If you have implemented a GC, you can parse the ocaml format to locate the objects.</div>
<div><br></div><div>I think the web page needs to be updated, because you can make the GC work with the JIT. You can just use LLVM's internal representations of frames.</div><div><br></div><div>Hope that helps,</div><div>
Nicolas<br><br><div class="gmail_quote">On Thu, Sep 16, 2010 at 8:30 PM, lost <span dir="ltr"><<a href="mailto:lostfreeman@gmail.com">lostfreeman@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hello!<br>
<br>
I'm looking at "Overview of available features" here:<br>
<a href="http://llvm.org/docs/GarbageCollection.html#collector-algos" target="_blank">http://llvm.org/docs/GarbageCollection.html#collector-algos</a> and can't<br>
understand something.<br>
First, does table header mean that there are already some GC's<br>
implemented besides "shadow stack"? E.g. can I just use them?<br>
Second, does row "JIT", "NO" mean that GC is not compatible with jitting at all?<br>
<br>
Best regards,<br>
Victor Milovanov.<br>
_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
</blockquote></div><br></div>