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: eachus@spectre.mitre.org (Robert I. Eachus) Subject: Re: Garbage Collection in Ada Date: 1996/10/28 Message-ID: #1/1 X-Deja-AN: 192904352 references: <01bbb910$f1e73f60$829d6482@joy.ericsson.se> organization: The Mitre Corp., Bedford, MA. newsgroups: comp.lang.ada Date: 1996-10-28T00:00:00+00:00 List-Id: In article jsa@alexandria (Jon S Anthony) writes: > Exactly. The "theory" just doesn't account for the observed facts. > Hence, anyone who is even remotely "scientifically motivated" would > have to just toss it on the incorrect theory junk pile. While the > "science" in "computer science" has always struck me as dubious (at > best), one would hope that there would be at least _some_ adherence to > this basic principle. My observations are based on simulations which in some cases run more than a week--of CPU time. The characteristics of my experience are: heap allocated objects containing a large amount of non-pointer state, including random values and in some cases the state of a random number generator. This is the worst case environment for a conservative collector. Hans-Juergen Boehm described a much different environment: > Please try it for yourself. Until April I was reading my mail on a > conservatively garbage collected system that couldn't possibly have > stayed up for weeks by this chain of reasoning. (It did.) Many other > systems that are in routine use couldn't possibly work either. Heap memory values in such an environment will tend to contain valid pointer values and substrings of mostly English ASCII text. It is possible that in Boehm's environment, no legal pointer corresponds to any printable substring. So yes your milage WILL vary, but in the simulation business, conservative collectors are an extremely poor choice. (And what makes them so bad is not that they fail often, but that when they fail three days into a week long run, you are up the proverbial creek.) -- Robert I. Eachus with Standard_Disclaimer; use Standard_Disclaimer; function Message (Text: in Clever_Ideas) return Better_Ideas is...