[Gc] dangling pointer

MenTaLguY mental at rydia.net
Tue Nov 9 14:28:21 PST 2004

On Tue, 9 Nov 2004, Boehm, Hans wrote:

> Continuing the side comment ...
> You should be able to get the collector to throw an exception
> instead of returning NULL by assigning a suitable function to
> GC_oom_fn (and building at least the relevant collector files
> so that exceptions can be propagated out of the collector.)

Is it always safe to unwind the stack from GC_oom_fn?

Even if libgc is safe, that about the case where GC_malloc() has been
called by another C library?


More information about the Gc mailing list