[perl #809] [PATCH] Adding the system stack to the GC

2002-07-13 Thread via RT
# New Ticket Created by Mike Lambert # Please include the string: [perl #809] # in the subject line of all future correspondence about this issue. # http://bugs6.perl.org/rt2/Ticket/Display.html?id=809 > Okay, patch is included below. Here are the relevant times from the gc bench suite: gc_a

Re: Adding the system stack to the GC

2002-07-12 Thread Mike Lambert
> >a) Can I assume the stack always extends into larger-addressed memory, or > >must I handle both cases? > > Both cases. If you want to add configure probing to determine > direction, go ahead. I'm currently doing it dynamically. Get it working, then someone can do nice configure probing. :) Tur

Re: Adding the system stack to the GC

2002-07-12 Thread Dan Sugalski
PLATFORM_STACK_WALK around it. Call the function DOD_walk_stack or something, and that way if someone needs a special version they can put it in their platform.c >Dan Sugalski wrote: > >> Date: Fri, 12 Jul 2002 13:05:54 -0400 >> From: Dan Sugalski <[EMAIL PROTECTED]> &

Re: Adding the system stack to the GC

2002-07-12 Thread Mike Lambert
om: Dan Sugalski <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: Adding the system stack to the GC > > Okay, anyone up for this? Should be fairly trivial--take the address > of an auto variable in runops, store it in the interpreter, take the > address of *another* auto var

Adding the system stack to the GC

2002-07-12 Thread Dan Sugalski
Okay, anyone up for this? Should be fairly trivial--take the address of an auto variable in runops, store it in the interpreter, take the address of *another* auto variable in the GC, and walk the contiguous chunk of memory between, looking for valid PMC and Buffer pointers. Anyone? --