On May 20, 2009, at 10:11 AM, Darin Adler wrote:

On May 20, 2009, at 9:33 AM, Lucius Fox wrote:

Sorry. I meant does Webkit on MacOS X uses 'reference counted or garbage collected' memory management?

Both.

For Objective-C objects it uses whatever mode of memory management the host application chooses. This is also how Mac OS X system frameworks like AppKit behave.

For its own non-Objective-C objects it uses both reference counting and garbage collection.

And the underlying WebCore C++ code uses both "manual" new/delete, and reference counting via the RefPtr class.

Simon

_______________________________________________
webkit-dev mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

Reply via email to