Typed GC

thedeemon dlang at thedeemon.com
Wed Feb 12 23:25:07 PST 2014


On Thursday, 13 February 2014 at 01:46:26 UTC, Shammah Chancellor 
wrote:
> On 2014-02-12 17:50:24 +0000, thedeemon said:

>> This is how "almost precise" GC used in VisualD works. Type 
>> information is used to mark all pointers in most heap objects, 
>> but objects on stack and closures are still scanned 
>> conservatively, IIRC. Unfortunately this GC is not included in 
>> the  main D distribution, probably because it's considered to 
>> not be tested well enough.
>
> How's that work?

Rainer had to patch dmd in order for this to work, to add more 
type information and make the pointer bitmap filling.


More information about the Digitalmars-d mailing list