[Issue 3463] Integrate Precise Heap Scanning Into the GC

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Jul 28 12:23:05 PDT 2010


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



--- Comment #61 from Leandro Lucarella <llucax at gmail.com> 2010-07-28 12:23:01 PDT ---
(In reply to comment #60)
> Created an attachment (id=701) [details]
> D1 - patch for Tango's runtime to enable precise GC scanning
> 
> - lots of nasty refactoring in gcx.d:

Even when I agree that the GC needs a lot of refactoring, I don't think it's a
good idea to include it in this patch, it makes much harder to understand it
and it might introduce some subtle bugs that will be very hard to track down in
so many changes.

I'm working on a GC that was based on the Tango (0.99.9) GC and doing a lot of
refactoring myself. The refactoring of things introduced by the patch looks
really nice though.

> Also, shouldn't functions like freeNoSync check for interior pointers? What
> happens if you call it with such a pointer?

I don't think so, it should be undefined behavior (based on C's free()).

Thanks!

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