[webkit-dev] Memory Management of Webkit on MacOS
simon.fraser at apple.com
Wed May 20 11:09:15 PDT 2009
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?
> 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.
More information about the webkit-dev