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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,5f8b8a8a389db5c7 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-03-05 17:08:05 PST Path: supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!news.maxwell.syr.edu!newsfeed1.earthlink.net!newsfeed.earthlink.net!newsmaster1.prod.itd.earthlink.net!newsread2.prod.itd.earthlink.net.POSTED!not-for-mail Message-ID: <3AA42A44.3EE75231@earthlink.net> From: "Marc A. Criley" Organization: Quadrus Corporation X-Mailer: Mozilla 4.73 [en] (X11; U; Linux 2.2.14-5.0 i686) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: JGnat and memory management References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Tue, 06 Mar 2001 01:06:32 GMT NNTP-Posting-Host: 158.252.122.160 X-Complaints-To: abuse@earthlink.net X-Trace: newsread2.prod.itd.earthlink.net 983840792 158.252.122.160 (Mon, 05 Mar 2001 17:06:32 PST) NNTP-Posting-Date: Mon, 05 Mar 2001 17:06:32 PST Xref: supernews.google.com comp.lang.ada:5447 Date: 2001-03-06T01:06:32+00:00 List-Id: "Alejandro R. Mosteo" wrote: > > Hello. > > I know that Java has a garbage collector. What happens > in JGnat with the memory allocated through new? Must be > freed with unchecked dealloc. or is garbage-collected > by the JVM? Or is configurable this behavior? > > I have not installed JGnat, so sorry if this is answered > in documentation. > The documentation is silent on this aspect of JGNAT--but then it's silent on a number of other topics of interest as well :-( Though I've little hard data for this belief, I've taken it that programs compiled with JGNAT are appropriately garbage-collected when executed on a JVM. The documentation does say that class files generated with JGNAT are interoperable with those generated by javac, so to me that implies comparable behavior. Marc A. Criley Senior Staff Engineer Quadrus Corporation www.quadruscorp.com