[Issue 3463] Integrate Precise Heap Scanning Into the GC

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Apr 14 19:51:15 PDT 2011


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



--- Comment #119 from David Simcha <dsimcha at yahoo.com> 2011-04-14 19:47:44 PDT ---
(In reply to comment #118)
> Also, even if the compiler emits the tables necessary for more precise gc, the
> gc implementation can ignore them and do it the old way. Emitting the tables
> makes it possible for people to experiment with various kinds of gc strategies.

I still think that, instead of hard coding this logic into the compiler, we
should make TypeInfo templated.  (See DIP 8 from ages ago,
http://www.wikiservice.at/d/wiki.cgi?LanguageDevel/DIPs/DIP8).  This would
allow different runtime implementations to customize how the pointer offset
info works without modifying the compiler.  It would also make typeinfo
extensible, which is generally a good thing.

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