More radical ideas about gc and reference counting

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Mon May 12 13:05:03 PDT 2014


On 5/12/14, 12:59 PM, bearophile wrote:
> Andrei Alexandrescu:
>
>> I, too, felt the need of onGC() - actually preGC() - in my allocators
>> implementation.
>> ...
>> A hook that nulls all freelist heads just as the collection process
>> starts would be helpful.
>
> How is this going to help increase tracing precision of unions (and
> Algebraic built on top of unions)?

How did I give the impression it has anything to do with unions? -- Andrei




More information about the Digitalmars-d mailing list