[LLVMdev] Accurate garbage collection

Joachim Durchholz jo at durchholz.org
Sat Dec 17 01:57:34 PST 2011


Am 16.12.2011 21:06, schrieb Jon Harrop:
> At regular intervals, check if the heap size has exceeded its quota
> and, if so, run a GC cycle.

I have seen people recommend doing this kind of check whenever hitting a 
malloc call.
I think it nicely scales with the level of heap activity for most programs.



More information about the llvm-dev mailing list