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