GC API: What can change for precise scanning?

dsimcha dsimcha at yahoo.com
Wed Apr 18 17:45:33 PDT 2012


On 4/18/2012 6:46 PM, Sean Kelly wrote:
> Leandro's GC (CDGC) is already set up to support precise scanning.  It's in the Druntime git repository, but lacks the features added to the Druntime GC compared to the Tango GC on which CDGC is based.  Still, it may be easier to update CDGC based on a diff between the Druntime and Tango GC than it would to add precise scanning to the GC Druntime currently uses.  Worth a look if anyone is interested anyway.
>

Or, failing that, I can look at it to get ideas about how to handle 
various annoying plumbing issues.  The plumbing issues (i.e. getting the 
GCInfo pointers from the allocation routines into the guts of the GC) 
are actually the hard part of this project.  Once the GC has the the 
GCInfo pointer, making it use that for precise scanning is trivial in 
that I've done it before and remember roughly how I did it.


More information about the Digitalmars-d mailing list