In message "Re: Ruby's GC" on Tue, 25 Oct 2005 17:08:29 +0900, Jeremy Tregunna <jtregu...@blurgle.ca> writes:
|> The short, english description is a conservative mark and sweep |> garbage collector. | |Yeah, I got that bit, was hoping for something a bit more technical in |English.
conservative
we use system stack and CPU registers for tracing root as well as usual language roots (global/local variables etc.). jmpbuf is used to access registers.
mark and sweep
simple mark and sweep, but uses Knuth's algorithm to avoid crash for deep recursion.
> In message "Re: Ruby's GC" > on Tue, 25 Oct 2005 17:08:29 +0900, Jeremy Tregunna > <jtregu...@blurgle.ca> writes:
> |> The short, english description is a conservative mark and sweep > |> garbage collector. > | > |Yeah, I got that bit, was hoping for something a bit more technical in > |English.
> conservative
> we use system stack and CPU registers for tracing root as well as > usual language roots (global/local variables etc.). jmpbuf is used > to access registers.
> mark and sweep
> simple mark and sweep, but uses Knuth's algorithm to avoid crash for > deep recursion.
> I'm curious if someone can point me to a technical description of ruby's > garbage collector?
while we are at this, I remember a branch was created some time ago to work on the new generational GC, are there some news or this simply never happened and I'm crazy?
In message "Re: Ruby's GC" on Wed, 26 Oct 2005 01:17:03 +0900, gabriele renzi <surrender...@-remove-yahoo.it> writes:
|while we are at this, I remember a branch was created some time ago to |work on the new generational GC, are there some news or this simply |never happened and I'm crazy?
It's not faster than expected. I will try again when YARV has come.
> In message "Re: Ruby's GC" > on Wed, 26 Oct 2005 01:17:03 +0900, gabriele renzi <surrender...@-remove-yahoo.it> writes:
> |while we are at this, I remember a branch was created some time ago to > |work on the new generational GC, are there some news or this simply > |never happened and I'm crazy?
> It's not faster than expected. I will try again when YARV has come.