[#8815] Segfault in libc strlen, via rb_str_new2 — "Sean E. Russell" <ser@...>

Howdy,

12 messages 2006/09/09
[#8817] Re: Segfault in libc strlen, via rb_str_new2 — Eric Hodel <drbrain@...7.net> 2006/09/09

On Sep 8, 2006, at 10:10 PM, Sean E. Russell wrote:

Re: cooperating with other GCs

From: "Charles O Nutter" <headius@...>
Date: 2006-09-01 02:33:52 UTC
List: ruby-core #8769
On 8/30/06, MenTaLguY <mental@rydia.net> wrote:
>
> Hello, I'm currently in the process of embedding a Ruby interpreter in a
> C++ application which uses its own conservative garbage collector,
> relying upon the ability to inspect the C stack.


Since nobody else replied, I'll say that I would imagine it nearly
impossible to do this without modifying Ruby itself. Even if you could swap
out the way it allocates objects/memory, you'd have to be able to replace
all the logic it uses to reclaim memory too.

-- 
Contribute to RubySpec! @ www.headius.com/rubyspec
Charles Oliver Nutter @ headius.blogspot.com
Ruby User @ ruby.mn
JRuby Developer @ www.jruby.org

In This Thread

Prev Next