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,FREEMAIL_FROM, INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,86ec22e070e319c0 X-Google-Attributes: gid103376,public From: warwicks@telusplanet.net (Chris Warwick) Subject: Re: How do I get this to work?? Date: 1999/01/19 Message-ID: #1/1 X-Deja-AN: 434231667 References: <77vi4q$o7l$1@nnrp1.dejanews.com> X-Trace: news2.telusplanet.net 916709139 161.184.49.165 (Mon, 18 Jan 1999 18:25:39 MDT) Organization: gerf inc. NNTP-Posting-Date: Mon, 18 Jan 1999 18:25:39 MDT Newsgroups: comp.lang.ada Date: 1999-01-19T00:00:00+00:00 List-Id: In article , stt@houdini.camb.inmet.com (Tucker Taft) wrote: >I can imagine that perhaps Chris Warwick meant that >Unchecked_Deallocation recycles storage for use by later >allocators, but never returns it to the operating system. >This does not surprise me, because the total memory required >by a program, even with perfect reclamation, rarely >goes down over time, so giving memory back to the operating >system temporarily seems like an expensive thing to do for >little potential payoff. > >Chris, is that what you meant? If so, I am curious >what sort of application system requires this behavior. I don't want to turn this into a vendor bash... Of the Ada compilers I have used, the unchecked_deallocation on all of them was to set the pointer to 0 and carry on (i.e., no calls to deallocate, no storing the un-used memory for later re-allocation by the Ada program). When I first stumbled into this I was told that this was for safety reasons. It may have been that I have been using safety critical versions of these Ada compilers, and "standard" compilers are different... I am certainly willing to change my outlook as I get more data, but as long as I keep asking vendors, and keep getting told that my belief is correct, then I am reluctant to change my view... BTW: my last attempt to raise this question was last September, and was for their Ada 95 product...