compiler support added for precise GC

Alex Rønne Petersen xtzgzorex at gmail.com
Sun Apr 15 23:44:58 PDT 2012


On 16-04-2012 08:30, Jacob Carlborg wrote:
> On 2012-04-16 04:24, Walter Bright wrote:
>> Just checked it in. Of course, it doesn't actually do precise GC, it is
>> just thrown over the wall for the library devs who are itching to get
>> started on it.
>>
>> I added a getGCInfo() method to TypeInfo that returns an
>> immutable(void)*. This pointer can be anything - a pointer to data, to
>> code, whatever, that implements whatever the GC might need to do precise
>> collections. The value is generated by the template GCInfo(T) in
>> object.d.
>
> Cool, but why was "getMembers" removed?
>

I was wondering too. That seems rather arbitrary and unrelated to 
precise GC.

-- 
- Alex


More information about the Digitalmars-d mailing list