[Gc] Re: Partially scanning a VM's call stack

Ludovic Courtès ludo at gnu.org
Wed Aug 19 08:23:02 PDT 2009

ludo at gnu.org (Ludovic Courtès) writes:

> Juan Jose Garcia-Ripoll
> <juanjose.garciaripoll at googlemail.com> writes:
>> 2009/8/19 Ivan Maidanski <ivmai at mail.ru>:
>>>> This looks like the easiest solution.  OTOH `GC_gcj_malloc ()' appears
>>>> to be undocumented, so I'd rather go for GC_new_kind + GC_MAKE_PROC.
>>> It's public (exported from gc_gcj.h). It's used in GCC/GCJ (and Mono AFAIK) projects.
>> The fact that something is exported in a header and commented in the
>> mailing list does not make it look like a stable feature of the
>> garbage collector. In particular, I can barely gather how those
>> descriptors work from your emails.
> Agreed.  The very name of the function makes it sound like a warning to
> non-GCJ developers.

... and the example at
isn't reassuring either:

  GC_init_gcj_malloc(5, 0); /* magical 5 for mp=0 (as used in other projects on the web) */


More information about the Gc mailing list