Re[2]: [Gc] What does "Finalization cycle" mean?

Ivan Maidanski ivmai at
Tue Jun 2 12:42:45 PDT 2009


"Talbot, George" <Gtalbot at> wrote:
> Yes, the only calls to register finalization are to GC_register_finalizer_ignore_self via gc_cpp.h
> I'm very sure that my data structure has no cycles in it.  Can you give me any hints?

First, try without KEEP_BACK_PTRS.

Next, debug that piece of GC_finalize() code near WARN (set a watch for GC_is_marked(real_ptr)), so you can find which pointers form the cycle.

> ...


More information about the Gc mailing list