
28 Sep
2005
28 Sep
'05
9:22 a.m.
If you do switch to manual allocation with the collector like that in the future, please also switch to GC::ManagedGC::SCANNED, GC::MANUAL instead of GC::Managed<>, so the object won't get automatically collected.
Most of the time, I'm copying the way the code does it. Here as well.
The following classes are derived from GC::Managed<> but not from GC::Anchored. Your article suggests that these are misbehaved, too:
Inkscape::Util::ListCell Inkscape::Whiteboard::MessageProcessor Inkscape::Whiteboard::MessageQueue Inkscape::Whiteboard::ProcessorShell Inkscape::Whiteboard::TrackerNode Inkscape::XML::AttributeRecord Inkscape::XML::CompositeNodeObserver Inkscape::XML::ObserverRecord Inkscape::XML::SimpleSession
ralf