[Issue 7251] GC not working

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Mar 1 14:53:46 PST 2012


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



--- Comment #6 from wfunction at hotmail.com 2012-03-01 14:53:44 PST ---
(In reply to comment #5)
> No, it's inevitable that a mark-and-sweep GC on a 32 bit system won't work if
> large numbers of false pointers are present. And this code:
> 
>    foreach (i; 0 .. count)
>         a ~= i;
> 
> is flooding the system with false pointers.

I think you might have misunderstood the problem, like I originally did.

I am **********  NOT  *********** filling the system with false pointers.
See David Simcha's comment in response to mine:
http://stackoverflow.com/a/8796226/541686

It's inherently defective -- I'm merely _allocating_ a lot of memory, that's
all. The rest is a problem with the GC's algorithm.
(Unless you expect that no one will allocate one 20-MB chunk of RAM?)

> 
> You marked this as regression, is there any previous compiler where this
> worked?
> (reopen if it there is).

I marked it as "remind", since I'm sorta reminding about this bug... if that's
not the implied meaning then my bad, but this still needs to be fixed.

-- 
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