Unused memory filling
bearophile
bearophileHUGS at lycos.com
Mon Dec 13 04:27:02 PST 2010
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 the memory it frees, when the program is compiled in debug mode?
Bye,
bearophile
More information about the Digitalmars-d
mailing list