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,c68551ab190372c8 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed.cwix.com!news.binc.net!kilgallen From: Kilgallen@SpamCop.net (Larry Kilgallen) Newsgroups: comp.lang.ada Subject: Re: Ada memory management? Date: 7 Oct 2004 11:23:59 -0500 Organization: LJK Software Message-ID: References: NNTP-Posting-Host: eisner.encompasserve.org X-Trace: grandcanyon.binc.net 1097166171 32654 192.135.80.34 (7 Oct 2004 16:22:51 GMT) X-Complaints-To: abuse@binc.net NNTP-Posting-Date: Thu, 7 Oct 2004 16:22:51 +0000 (UTC) Xref: g2news1.google.com comp.lang.ada:4879 Date: 2004-10-07T11:23:59-05:00 List-Id: In article , Georg Bauhaus writes: > Stephen Thomas wrote: > > : In > : the above example, a new storage pool for Int_Ptr is created on > : entry to Does_This_Leak, and is removed on exit. > > A whole pool is created on procedure entry? Are you sure? "A whole pool" _might_ be cheap (or not). I don't know the internals of the VMS Ada compiler, but the operating system function LIB$CREATE_VM_ZONE is a relatively cheap way to make something that could be used as a pool by an implementation.