Re: Comparing Pika-syle and JNI-style Shiro Kawai 15 Jan 2004 01:44 UTC

>From: Tom Lord <xxxxxx@emf.net>
Subject: Re: Comparing Pika-syle and JNI-style
Date: Wed, 14 Jan 2004 17:59:10 -0800 (PST)

> Given the scheme_value, I read the address of the malloced (or inline)
> string and operate on that.  At this point the scheme_value, if I'm
> not otherwise using it, is a dead variable as far as C is concerned.
> Should the scheme value be collected while I'm working on the string,
> the string data will be freed out from under me.

As Per noted, Boehm GC avoids this if configured with "interior
pointer" flag.

--shiro