comp.lang.ada
 help / color / mirror / Atom feed
From: dennison@telepath.com
Subject: Re: Automatic Garbage Collection?
Date: 1999/04/22
Date: 1999-04-22T00:00:00+00:00	[thread overview]
Message-ID: <7fnit5$n4k$1@nnrp1.dejanews.com> (raw)
In-Reply-To: 7fnbdg$g4n$1@nnrp1.dejanews.com

In article <7fnbdg$g4n$1@nnrp1.dejanews.com>,
  ken_shiro@my-dejanews.com wrote:
> I am aware of the generic procedure "Unchecked_Deallocation", but I was
> wondering if some implementations support (automatic) garbage collection even
> though "Unchecked_Deallocation" is available?

If you define a storage pool for an access type, the memory for that pool will
be reclaimed automaticly when the type goes out of scope. I suppose that could
be considered "semi-automatic" garbage collection. :-)

The compilers that target the Java virtual machine probably have to do more.
But I am not aware of any other Ada compiler that does full automatic garbage
collection. The language standard does not prevent it; its just that no-one
has ever bothered to implement it.

--
T.E.D.

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    




  reply	other threads:[~1999-04-22  0:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-04-22  0:00 Automatic Garbage Collection? ken_shiro
1999-04-22  0:00 ` dennison [this message]
1999-04-22  0:00 ` Tucker Taft
1999-04-23  0:00   ` Robert Dewar
1999-04-23  0:00     ` Tucker Taft
1999-04-22  0:00 ` dennison
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox