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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 Path: border2.nntp.dca1.giganews.com!nntp.giganews.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!feeder.erje.net!eu.feeder.erje.net!news.stack.nl!aioe.org!.POSTED!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: newbie: can't read fast enough... :-) memory leaks... Date: Thu, 4 Sep 2014 09:18:49 +0200 Organization: cbb software GmbH Message-ID: <15zs1p0r5ap5n.rh1nepymlvs0.dlg@40tude.net> References: <479b2efe-0238-4b2a-8b05-cb1a0b4a57e5@googlegroups.com> <1409739464.7121.235.camel@obry.net> <1thd1r1lwpfn0$.pcupzjcl3iga.dlg@40tude.net> Reply-To: mailbox@dmitry-kazakov.de NNTP-Posting-Host: yj8+JIQUMOEawvIM7K49kA.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org User-Agent: 40tude_Dialog/2.0.15.1 X-Notice: Filtered by postfilter v. 0.8.2 Xref: number.nntp.dca.giganews.com comp.lang.ada:188858 Date: 2014-09-04T09:18:49+02:00 List-Id: On Wed, 03 Sep 2014 16:31:12 -0400, Robert A Duff wrote: > As I recall, it first finds all the thread stacks, which is an > OS-dependent operation. Those are the "roots". It looks at each word > in the stacks, using supposedly-conservative heuristics to guess whether > that word is a pointer. If so, it traces that, and follows all the > pointers in the heap object, transitively. Thanks. That answered my question. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de