Re: Precise garbage collection

2010-08-16 Thread Leandro Lucarella
Borneq, el 16 de agosto a las 07:53 me escribiste: Conservative garbage collection causes memory leaks. In D is added: http://d.puremagic.com/issues/show_bug.cgi?id=3463 This is semi precise - only the heap have type information. What type information has fully precise? Semi precise causes

Re: Precise garbage collection

2010-08-16 Thread bearophile
Leandro Lucarella: Unfortunately full preciseness is not possible in D, due to unions mostly. But unions are not so common in D code. Having a precise stack would be very hard (and probably costly, so not very suitable for D) LLVM contains tools to implement precise stack tracing. Once

Precise garbage collection

2010-08-15 Thread Borneq
Conservative garbage collection causes memory leaks. In D is added: http://d.puremagic.com/issues/show_bug.cgi?id=3463 This is semi precise - only the heap have type information. What type information has fully precise? Semi precise causes memory leaks? This above patch is applied in official