[Issue 3463] Integrate Precise Heap Scanning Into the GC

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Apr 14 13:48:59 PDT 2011


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



--- Comment #98 from Andrei Alexandrescu <andrei at metalanguage.com> 2011-04-14 13:45:23 PDT ---
Though I understand its attractiveness, I oppose the state machine approach
because it is hopelessly specific. After taking to completion this nontrivial
task we'll have (a) one DSL to worry about, (b) a significant piece of
infrastructure that only does one thing.

The ideal approach would be to improve introspection. At the end of the day
each type (including array types) has a specific topology, which should be
accessible to the garbage collector and not only. It would be great if the
garbage collector would get the TypeInfo for each chunk of memory and use its
introspection information for navigating pointers.

The work on improving introspection should be done anyway.

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