large objects and GC

Vladimir Panteleev thecybershadow at gmail.com
Sat May 17 01:42:21 PDT 2008


On Sat, 17 May 2008 10:54:06 +0300, Fawzi Mohamed <fmohamed at mac.com> wrote:

> Now the pool will stay around as long as any objet into it has references.

Heh, no, this is not the case. The GC will track references individually for every object inside the memory pool. The code for freeing sub-pool-size objects is in gcx.d, lines 2056 to 2075.

-- 
Best regards,
 Vladimir                          mailto:thecybershadow at gmail.com



More information about the Digitalmars-d mailing list