comp.lang.ada
 help / color / mirror / Atom feed
From: dewar@cs.nyu.edu (Robert Dewar)
Subject: Re: Great Circle and Ada?
Date: 1996/09/15
Date: 1996-09-15T00:00:00+00:00	[thread overview]
Message-ID: <dewar.842783404@schonberg> (raw)
In-Reply-To: 323B1FFD.FA4@syspac.com


John Volan says

"The "transparent" version of Great Circle is a conservative garbage
collector: It determines which heap-allocated objects are still
accessible,
by searching through memory for any 32-bit value that contains an
address
on the heap. Obviously, this scheme can miss some garbage if a
non-pointer bit-pattern happens to look like a heap address.
"

It can also garbage collect good stuff, there is no requirement that
a pointer to a block exist as such for a block to still be required
to stay around. An obvious counter-example is the use of virtual
origins to reference dynamically allocated arrays.


That's not to say this kind of technology is not useful, just that you
have to be careful to discount any bogus claims that it is bound to
be reliable!





  reply	other threads:[~1996-09-15  0:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-09-14  0:00 Great Circle and Ada? John G. Volan
1996-09-15  0:00 ` Robert Dewar [this message]
  -- strict thread matches above, loose matches on Subject: below --
1996-09-17  0:00 Lars Farm
1996-09-17  0:00 ` Robert A Duff
1996-09-17  0:00   ` Norman H. Cohen
1996-09-18  0:00     ` Robert A Duff
replies disabled

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