[Gc] Changing ‘GC_should_collect’ to account for malloc’d memory

Ludovic Courtès ludo at gnu.org
Sun Feb 27 05:55:33 PST 2011

Andy Wingo <wingo at pobox.com> writes:

> On Sun 27 Feb 2011 13:29, ludo at gnu.org (Ludovic Courtès) writes:
>> I think it’s reasonable in the case of Guile where most malloc’d C
>> objects provided by C libs are associated with a GC_MALLOC’d Scheme
>> object that has the same lifetime.
> This would be the case when your whole program is related to Guile, but
> if you just use it as an extension to an existing C or C++ application,
> that might not be the case.

Right, good point.


More information about the Gc mailing list