From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,aa2e415128e40fff,start X-Google-Attributes: gid103376,public From: "Centaury" Subject: Question about garbage collection Date: 1998/04/18 Message-ID: <6h851g$sq$1@news.tm.net.my>#1/1 X-Deja-AN: 345110745 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 Organization: TMnet Malaysia Newsgroups: comp.lang.ada Date: 1998-04-18T00:00:00+00:00 List-Id: One question about access type garbage collection. I understand that when an access object is no longer pointed at by an access variable, the space taken by object would usually be reclaimed. One question. . if the object itself is a record that has an access type in it, and that object is pointing at another object, but not pointed at; would it be considered lost and would the space be reclaimed?? Let me put it in illustration: head --> ("myname",link) --> ("yourname", link) --> null ^ | | ("hisname", link) -->null will the space resided by ("hisname", link) be recovered by garbage collector?? Regards, Centaury