rt_finalize WTFs?

dsimcha dsimcha at yahoo.com
Mon Dec 5 16:01:39 PST 2011


On 12/5/2011 6:39 PM, Trass3r wrote:
>> On 05/12/2011 01:46, dsimcha wrote:
>>> I'm at my traditional passtime of trying to speed up D's garbage
>>> collector again
>>
>> Have you thought about pushing for the inclusion of CDGC at
>> all/working on the tweaks needed to make it the main GC?
>
> So true, it's been rotting in that branch.

IIRC CDGC includes two major enhancements:

1.  The snapshot GC for Linux.  (Does this work on OSX/FreeBSD/anything 
Posix, or just Linux?  I'm a bit skeptical about whether a snapshot GC 
is really that great an idea given its propensity to waste memory on 
long collect cycles with a lot of mutation.)

2.  I think there was some precise heap scanning-related stuff in it.  I 
originally tried to implement precise heap scanning a couple years ago, 
but it went nowhere for reasons too complicated to explain here.  Given 
this experience, I'm not inclined to try again until the compiler has 
extensions for generating pointer offset information.


More information about the Digitalmars-d mailing list