On 2013-07-11 19:00, Adam D. Ruppe wrote:
BTW if you guys are wondering how I found the allocations, it was pretty
simple:

dmd mangle.d -debug -gc
gdb ./mangle

break gc_malloc
break gc_qalloc
r


Then when it breaks, do "where" and see what called the gc alloc. Then
hit "c" to continue and repeat until you've found and fixed them (or
ignored if they are in druntime).

That's a good tip. I'm going to start using that.

--
/Jacob Carlborg

Reply via email to