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.8 required=5.0 tests=BAYES_00,INVALID_DATE autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 109fba,8e3b3db66f3b0061 X-Google-Attributes: gid109fba,public X-Google-Thread: f4fd2,8e3b3db66f3b0061 X-Google-Attributes: gidf4fd2,public X-Google-Thread: 1014db,8e3b3db66f3b0061 X-Google-Attributes: gid1014db,public X-Google-Thread: fd443,8e3b3db66f3b0061 X-Google-Attributes: gidfd443,public X-Google-Thread: 103376,474d28ddf953b3c1 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 1994-12-01 06:12:38 PST Newsgroups: alt.lang.design,comp.lang.c,comp.lang.c++,comp.lang.lisp,comp.lang.ada Path: bga.com!news.sprintlink.net!howland.reston.ans.net!ix.netcom.com!netcom.com!hbaker From: hbaker@netcom.com (Henry G. Baker) Subject: Re: Reference Counting (was Re: Searching Method for Incremental Garbage Collection) Message-ID: Organization: nil References: <3bg6ci$18k@gamma.ois.com> <3bii2g$kn2@news.parc.xerox.com> <3bjfep$9ss@gamma.ois.com> Date: Thu, 1 Dec 1994 13:59:08 GMT Xref: bga.com alt.lang.design:145 comp.lang.c:32788 comp.lang.c++:39130 comp.lang.lisp:4237 comp.lang.ada:8141 Date: 1994-12-01T13:59:08+00:00 List-Id: In article <3bjfep$9ss@gamma.ois.com> beckwb@ois.com (R. William Beckwith) writes: >Good point. If you know you have other strong references to an >object, you can use weak pointers for interators and such. That >helps a little. I would recommend using weak pointers for any object >that doesn't have a strong pointer to it declared in the immediate >or enclosing scope. (In case anyone else is following this thread) Please note that your use of the term 'weak pointer' is nonstandard. 'Weak pointers' are used in tracing/coping GC's to refer to pointers which aren't traced, but _are_ updated, possibly to NIL, by the garbage collector. A non-increment/decrement pointer in a reference counted system I have called a 'deferred increment' pointers. I have a recent paper in Sigplan Notices (and my ftp/www archive) which investigates this issue more thoroughly. Henry Baker Read (192.100.81.1) ftp.netcom.com:/pub/hb/hbaker/README for ftp-able papers. WWW archive: ftp://ftp.netcom.com/pub/hb/hbaker/home.html ************* Note change of address ^^^ ^^^^