More radical ideas about gc and reference counting

Dmitry Olshansky via Digitalmars-d digitalmars-d at puremagic.com
Mon May 12 11:17:31 PDT 2014


12-May-2014 22:08, Andrei Alexandrescu пишет:
> On 5/12/14, 10:25 AM, bearophile wrote:
> A hook that nulls all freelist heads just as the collection process
> starts would be helpful.

One word - weak pointers. Then head of freelist is weak and can be 
collected at whim.

>
>
> Andrei
>


-- 
Dmitry Olshansky


More information about the Digitalmars-d mailing list