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,3498dd887729ed19 X-Google-Attributes: gid103376,public From: bobduff@world.std.com (Robert A Duff) Subject: Re: Garbage Collection in Ada Date: 1996/10/20 Message-ID: #1/1 X-Deja-AN: 190791397 references: <01bbb910$f1e73f60$829d6482@joy.ericsson.se> <199610181934142408603@dialup101-3-15.swipnet.se> organization: The World Public Access UNIX, Brookline, MA newsgroups: comp.lang.ada Date: 1996-10-20T00:00:00+00:00 List-Id: In article <199610181934142408603@dialup101-3-15.swipnet.se>, Lars Farm wrote: >- How large is the probability that this occurs? (Where "this" = "conservative GC fails to collect some garbage".) I don't see any way of assigning a numeric probability to it. That's the main thing that makes *me* nervous about it. I mean, there's nothing under the programmer's control that can let you know if or when this sort of bug might happen. You do have a point, though. For example, many compilers use hash tables, which are intolerably slow in the worst case. And the compiler designer often doesn't do any analysis to determine the probability of that happening. Just wait until somebody complains, and then fix it. But I still don't want to trust a conservative GC, at least not for any program that is supposed to be reliable. - Bob