[Gc] dangling pointer

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


On Tue, 9 Nov 2004, MenTaLguY wrote:

> 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?

I'm sorry.  I can't read today.

Yes, that would be exactly suitable then.

-mental


More information about the Gc mailing list