[Issue 3463] Integrate Precise Heap Scanning Into the GC

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Sep 15 05:51:43 PDT 2010


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



--- Comment #78 from Leandro Lucarella <llucax at gmail.com> 2010-09-15 05:51:08 PDT ---
(In reply to comment #77)
> There's a small bug in the memory clearing in mallocNoSync(), that could cause
> memory leaks. Will post patch on request (nobody is using this anyway, right?).

I ported it to my GC, so I'm interested in knowing what the bug is about to
check if I have it too.

> Also, I found out that that SENTINEL is dead code. Uncommenting the "debug =
> SENTINEL;" line on start of gcx.d will not include the code in
> "version(SENTINEL)" blocks, because "debug" identifiers and "version"
> identifiers live in different namespaces. Makes me wonder, does anyone ever use
> the SENTINEL stuff for testing? Or just thought he'd be using it? Btw. someone
> said 16 bytes is the minimum alignment on OSX, so SENTINEL is broken there
> anyway.

Yeah, I think most of the versioned code is dead or close to it, because I
doubt anybody test it. In my GC, which makes SENTINEL and MEMSTOMP run-time
configurations, SENTINEL is broken and I didn't had the time to fix it yet.
MEMSTOMP seems to work though.

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