[Gc] A small patch to help with finalization cycles.

Talbot, George Gtalbot at ansarisbio.com
Tue Dec 15 13:51:35 PST 2009


Hi folks,

I've attached a small patch that I've only tested on Linux with GCC that prints C++ type information for objects with virtual functions using RTTI when printing a finalization cycle warning.  Though it's a bit of a hack, it can be massively useful finding said cycles.

Let me know if this is useful, and if there are any changes you need me to make for it to go in if so.

Thanks.

--
George T. Talbot
<gtalbot at locuspharma.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: finalization-loop-cpp.patch
Type: text/x-diff
Size: 2641 bytes
Desc: finalization-loop-cpp.patch
Url : http://napali.hpl.hp.com/pipermail/gc/attachments/20091215/e430e1b3/finalization-loop-cpp.bin


More information about the Gc mailing list