Re: GC design

2002-05-27 Thread Jerome Vouillon
On Sun, May 26, 2002 at 08:20:23AM -0700, Sean O'Rourke wrote: > I'm sure it's been discussed before somewhere, but why can't we guarantee > that we only do GC runs between ops? Each op would just have to guarantee > that all of its persistent data is reachable before it returns. It seems > like

Re: Hashtable+GC problems

2002-05-27 Thread Jerome Vouillon
On Sun, May 19, 2002 at 10:43:20PM -0400, Mike Lambert wrote: [...] > But if you'll notice down below in the body, it uses > string_compare. Due to transcoding issues, that can trigger a full GC, > which means you need to restore_invariants inside that loop. And that > invalidates your 'chain' whi

[netlabs #628] [PATCH] Make hash.c depend on parrot headers

2002-05-27 Thread Peter Gibbs
# New Ticket Created by "Peter Gibbs" # Please include the string: [netlabs #628] # in the subject line of all future correspondence about this issue. # http://bugs6.perl.org/rt2/Ticket/Display.html?id=628 > Following patch adds dependencies entry for hash.c to Makefile. Stops things from g

Re: GC design

2002-05-27 Thread Sean O'Rourke
On Mon, 27 May 2002, Jerome Vouillon wrote: > On Sun, May 26, 2002 at 08:20:23AM -0700, Sean O'Rourke wrote: > > I'm sure it's been discussed before somewhere, but why can't we guarantee > > that we only do GC runs between ops? Each op would just have to guarantee > > that all of its persistent

[netlabs #629] [PATCH] Memory manager/garbage collector - major revision

2002-05-27 Thread Peter Gibbs
# New Ticket Created by "Peter Gibbs" # Please include the string: [netlabs #629] # in the subject line of all future correspondence about this issue. # http://bugs6.perl.org/rt2/Ticket/Display.html?id=629 > Attached patch does some fairly radical things to the memory manager. 1) Cycle coun

Re: [netlabs #629] [PATCH] Memory manager/garbage collector -major revision

2002-05-27 Thread Dan Sugalski
At 4:33 PM + 5/27/02, "Peter Gibbs" (via RT) wrote: >Dan's suggestion of reversing the logic of >DOD runs would work for the pure infant mortality situation (except >perhaps for the odd pathological op), but it still leaves problems >with the dependency of buffer memory collection on prior d

[COMMIT] Added preprocessor layer to newasm.

2002-05-27 Thread Jeff
newasm now handles constants, macros, and local labels within. Here's a short test program that exercises all three featurs. Doesn't do much, but here it is: print "Everything else is as usual.\n" ..macro MyMacro ( FOO, Bar ) # Macros are now prepended with '.'. print .FOO # . also prepends ou