ggaren at apple.com
Mon Mar 23 10:49:30 PDT 2009
> I have a question about the objects referencing between
> and WebCore:
> JSNode uses m_impl to reference a Node in WebCore. And when
> KJS::Collector::collect() is called the function mark() of each
> JSNode is
> invoked to keep the corresponding Node in WebCore alive in memory.
That's not quite accurate.
m_impl is reference-counted -- nothing specific needs to happen during
garbage collection in order to keep m_impl alive.
wrapper around m_impl, to preserve custom properties set through the
More information about the webkit-dev