[LLVMdev] Improving Garbage Collection

Andrew Trick atrick at apple.com
Tue Jul 19 15:59:50 PDT 2011

On Jul 18, 2011, at 10:53 PM, Talin wrote:

> Currently I only have function calls as safe points, although I may eventually enable loops as well. As far as leaf functions go, consider that the call to allocate memory is also a safe point - and if a function doesn't allocate any memory then we don't care if the GC is involved or not.

That logic only applies to single-threaded apps (but it may still be good enough for you in practice).


More information about the llvm-dev mailing list