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
