comp.lang.ada
 help / color / mirror / Atom feed
From: Ole-Hjalmar Kristensen <oleh@vlinux.voxelvision.no>
Subject: Re: Garbage collector on Ada?
Date: Fri, 21 Jun 2002 15:46:15 GMT
Date: 2002-06-21T15:46:15+00:00	[thread overview]
Message-ID: <7vptyk4ou1.fsf@vlinux.voxelvision.no> (raw)
In-Reply-To: 3D13471D.6020606@san.rr.com

Darren New <dnew@san.rr.com> writes:

> Pedro Menendez wrote:
> > someone told me that it would be quite impossible considering Ada is
> > a real-time language,
> 
> Well, unless you used a real-time garbage collector. It sounds like
> "someone" isn't up on this decade's technology.
> 
> Hmmm... Looks like "someone" isn't even up on how Google works.
> 
> http://lieber.www.media.mit.edu/people/lieber/Lieberary/GC/Realtime/Realtime.html

Baker's algorithm is old and well known and pretty good. But the
problem with any copying garbage collector, including this new one, is
that if you copy large objects, that *may* be enough to disturb your
timing, unless you run the garbage collector in a separate thread, and
thus allows the copying to be interrupted. Baker's original paper
mentions this, and also explains why running the garbage collector in
a separate thread is difficult.

But I agree, GC is good for may applications, and with some care, can
be used even for RT applications.




      reply	other threads:[~2002-06-21 15:46 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-21 10:41 Garbage collector on Ada? Pedro Menendez
2002-06-21 12:07 ` Jacob Sparre Andersen
2002-06-21 13:43   ` Dr. Michael Paus
2002-06-21 21:32     ` Robert I. Eachus
2002-06-24  9:36       ` Ole-Hjalmar Kristensen
2002-06-22 10:37     ` Pedro Menendez
2002-06-22 11:29       ` Jacob Sparre Andersen
2002-06-21 14:35 ` Wes Groleau
2002-06-21 15:05   ` tgingold
2002-06-21 15:29     ` Wes Groleau
2002-06-21 15:32 ` Darren New
2002-06-21 15:46   ` Ole-Hjalmar Kristensen [this message]
replies disabled

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