[Issue 3929] GC.free() creates subtle bugs

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Mar 11 18:08:27 PST 2010


http://d.puremagic.com/issues/show_bug.cgi?id=3929



--- Comment #5 from Steven Schveighoffer <schveiguy at yahoo.com> 2010-03-11 18:08:26 PST ---
The cache actually depends on it.  If the block info in the cache is freed and
then reallocated as smaller blocks, using append may utilize a stale blockinfo
and allow overwriting of data that is not allocated to the array.

I agree the situation is not ideal.  Do you have any ideas on how to fix it? 
One possibility is to allow manual clearing of the cache if you want to tune
the application.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list