[#237] object.c ruby.h (fwd) — Robert Skarwecki <skaav@...>

Hello everybody,

42 messages 2002/07/24
[#239] Re: [PATCH] object.c ruby.h (fwd) — GOTO Kentaro <gotoken@...> 2002/07/24

At Thu, 25 Jul 2002 00:02:28 +0900,

[#240] Re: [PATCH] object.c ruby.h (fwd) — Dave Thomas <Dave@...> 2002/07/24

GOTO Kentaro <gotoken@notwork.org> writes:

[#246] Re: [PATCH] object.c ruby.h (fwd) — GOTO Kentaro <gotoken@...> 2002/07/25

At Thu, 25 Jul 2002 05:05:46 +0900,

[#247] Re: [PATCH] object.c ruby.h (fwd) — Dave Thomas <Dave@...> 2002/07/25

GOTO Kentaro <gotoken@notwork.org> writes:

[#248] Re: [PATCH] object.c ruby.h (fwd) — nobu.nokada@... 2002/07/25

Hi,

[#249] Re: [PATCH] object.c ruby.h (fwd) — Dave Thomas <Dave@...> 2002/07/25

nobu.nokada@softhome.net writes:

[#250] Re: [PATCH] object.c ruby.h (fwd) — nobu.nokada@... 2002/07/25

Hi,

[#252] Re: [PATCH] object.c ruby.h (fwd) — GOTO Kentaro <gotoken@...> 2002/07/25

At Fri, 26 Jul 2002 03:11:02 +0900,

[#253] Re: [PATCH] object.c ruby.h (fwd) — Dave Thomas <Dave@...> 2002/07/25

GOTO Kentaro <gotoken@notwork.org> writes:

Re: Wiring up the Boehm GC to the Ruby interpreter

From: matz@... (Yukihiro Matsumoto)
Date: 2002-07-12 23:08:46 UTC
List: ruby-core #224
Hi,

In message "Wiring up the Boehm GC to the Ruby interpreter"
    on 02/07/12, Matthew Bloch (by way of Matthew Bloch <mattbee@soup-kitchen.net>) <matthew@bytemark.co.uk> writes:

|Only problem was-- it leaks!  Or at least the memory use from my application
|went up and up while the standard Ruby collector kept it bounded at around
|10%.  I could tell it was doing *something* because the memory shot up much
|more quickly if I turned off collection.  Are there any 'roots' in the Ruby
|interpreter that an external GC should need to be told about?  There were no
|shared library dependencies other than the usual libc etc.  Can this *only*
|be because there's memory Boehm doesn't know about, or are there other
|pitfalls to watch out for?

gc.c allocates big chunks of memory using malloc() and chop them into
objects, so I guess you need to change rb_newobj() to use Bohem
malloc.

							matz.

In This Thread

Prev Next