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

2010-03-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3929 Steven Schveighoffer schvei...@yahoo.com changed: What|Removed |Added CC|

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

2010-03-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3929 --- Comment #4 from David Simcha dsim...@yahoo.com 2010-03-11 16:41:52 PST --- What about the issue of unnecessary GC retention of (possibly large) arrays? -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ---

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

2010-03-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3929 --- Comment #5 from Steven Schveighoffer schvei...@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

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

2010-03-10 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3929 --- Comment #1 from David Simcha dsim...@yahoo.com 2010-03-10 20:30:47 PST --- Clarification: The LRU cache would avoid causing an otherwise GC-able array from being retained by casting the pointer to size_t or something and storing the