More radical ideas about gc and reference counting
Andrei Alexandrescu via Digitalmars-d
digitalmars-d at puremagic.com
Mon May 12 11:40:03 PDT 2014
On 5/12/14, 11:17 AM, Dmitry Olshansky wrote:
> 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.
Of course. My point here is that here you need simpler support than
full-blown weak pointers. -- Andrei
More information about the Digitalmars-d
mailing list