develooper Front page | perl.perl6.internals | Postings from July 2002

Re: Adding the system stack to the root set

Thread Previous
Tom Hughes
July 11, 2002 23:53
Re: Adding the system stack to the root set
Message ID:
In message <>
          Nicholas Clark <> wrote:

> On Wed, Jul 10, 2002 at 06:49:06PM -0400, Dan Sugalski wrote:
> > Yes, this is an issue for systems with a chunked stack. As far as I
> > know that only applies to the various ARM OSes, and for those we'll
> > have to have some different system specific code to deal with the
> > stack. (Which is fine)
> Sorry, I wasn't clear in my previous reply to your private message.
> ARM Linux doesn't use a chunked stack. It's contiguous, and (for example)
> the Bohem garbage collector does work on it. I would expect NetBSD ARM
> doesn't either. (There is a FreeBSD port to StrongARM, but its mailing
> list is very very quiet). So I don't think those two will pose undue
> problems.

As far as I know all the ARM unixes use a contiguous stack - it's
just RISC OS that uses the chunked stack I believe.

I believe you can always tell by looking at where sl points and seeing
if there is a valid chunk descriptor there and then following it's prev
pointer to get the previous chunk if there is one.


Tom Hughes (

Thread Previous Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About