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=-0.8 required=5.0 tests=BAYES_00,INVALID_DATE, MSGID_SHORT autolearn=no autolearn_force=no version=3.4.4 Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!uwm.edu!zaphod.mps.ohio-state.edu!tut.cis.ohio-state.edu!pt.cs.cmu.edu!sei!ajpo!falis From: falis@ajpo.sei.cmu.edu (Edward Falis) Newsgroups: comp.lang.ada Subject: Re: C Strings in Ada? Summary: RE: memory reclamation Message-ID: <679@ajpo.sei.cmu.edu> Date: 13 Jun 90 21:20:15 GMT References: <920024@hpclapd.HP.COM> <920025@hpclapd.HP.COM> <57288@bbn.BBN.COM> List-Id: you're right: it depends on the compiler and rte implementation. In fairness, though, several of the more prominent Ada vendors do perform automatic reclamation (though not garbage collection). The typical scheme is to deallocate all objects of the collection type when the access type goes out of scope. For compiler-generated temporaries, reclamation will occur when the scope creating the tempo is exited, or when the tempo is no longer required, depending on the thoroughness of the implementation. - Ed Falis, Alsys