[Issue 7251] GC not working

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Mar 1 03:40:07 PST 2012


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



--- Comment #5 from Don <clugdbug at yahoo.com.au> 2012-03-01 03:39:55 PST ---
(In reply to comment #4)
> (In reply to comment #3)
> > (In reply to comment #2)
> > > Just wondering, why was this marked as "Resolved, Invalid" with no comment?
> > 
> > Huh? Comment #1 was added when it was closed. Reclosing.
> 
> Wait what?
> 
> "This looks like false pointers [...] We really need precise heap scanning."
> 
> Doesn't that mean this needs to be fixed? Or is one of us misunderstanding the
> meaning of the above?

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.

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

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