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

Ludovic Courtès ludo at gnu.org
Wed Aug 19 06:40:13 PDT 2009

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.

> If the GCJ methods for collection and allocation are useful, supported
> and with a stable interface, then it should be documented somewhere by
> the library. Otherwise it is hard for non-GCJ/GCC developers
> (including myself) to even figure out what the benefits and proper
> ways of using it are, or whether they will survive a future change of
> mood of Mono/GCJ developers :-)


(FWIW I gather that the latest change of mood of the Mono developers has
led them to implement their own GC.  See


More information about the Gc mailing list