Re: Unused memory filling

2010-12-13 Thread Vladimir Panteleev
On Mon, 13 Dec 2010 14:27:02 +0200, bearophile wrote: In two places I have read about 'shredding your trash', that is filling the memory that's supposed to be free and not used any more with a constant known value different from zero, to allow bugs in pointer usage to surface faster. So

Unused memory filling

2010-12-13 Thread bearophile
In two places I have read about 'shredding your trash', that is filling the memory that's supposed to be free and not used any more with a constant known value different from zero, to allow bugs in pointer usage to surface faster. So is it a good idea for the D GC to perform such overwriting of