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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,21960280f1d61e84 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!130.59.10.21.MISMATCH!kanaga.switch.ch!news-zh.switch.ch!switch.ch!news.ip-plus.net!newsfeed.ip-plus.net!news.post.ch!not-for-mail From: Martin Krischik Newsgroups: comp.lang.ada Subject: Re: GC in Ada Date: Thu, 08 Feb 2007 09:20:41 +0100 Organization: Swisscom IP+ (post doesn't reflect views of Swisscom) Message-ID: <45cadd5a$1@news.post.ch> References: <1169636785.504223.139630@j27g2000cwj.googlegroups.com> <45b8361a_5@news.bluewin.ch> <3pejpgfbki.fsf@hod.lan.m-e-leypold.de> <45c99c24$1@news.post.ch> <45c9bdb8$1@news.post.ch> NNTP-Posting-Host: 194.41.146.1 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: atlas.ip-plus.net 1170922846 27918 194.41.146.1 (8 Feb 2007 08:20:46 GMT) X-Complaints-To: abuse@ip-plus.net NNTP-Posting-Date: Thu, 8 Feb 2007 08:20:46 +0000 (UTC) User-Agent: Thunderbird 1.5.0.8 (Windows/20061025) In-Reply-To: X-Original-NNTP-Posting-Host: w01iwt.pnet.ch X-Original-Trace: 8 Feb 2007 09:20:42 +0200, w01iwt.pnet.ch Xref: g2news2.google.com comp.lang.ada:9126 Date: 2007-02-08T09:20:41+01:00 List-Id: Maciej Sobczak schrieb: > Martin Krischik wrote: >> And Unchecked_Deallocation should deallocate even when a collector is >> present. > I don't understand. There is no legal way for the program to verify that > anything was indeed deallocated, so it doesn't make much sense to say > that this behaviour is required. should /= must > As far as I understand it, Unchecked_Deallocation is allowed to do > nothing. That wouldn't be a very competitive language implementation, > but AARM does not require it either. :-) Just read it up [1] and Unchecked_Deallocation may not be a no-op - you forgot finalization. Apart from that: --------------------- Implementation Advice For a standard storage pool, Free should actually reclaim the storage. --------------------- Again "Should /= must" and - you are right - there are no references as to when reclaim should happen. Martin [1] http://www.adaic.com/standards/05rm/html/RM-13-11-2.html